# Vault 7: Projects

This publication series is about specific projects related to the Vault 7 main publication.

### Protego

# PIC24FJ64GA004 - Programmers Reference Manual

- 1
- 2
…
- 48
- 49
- 50
- 51
- 52
…
- 501
- 502

16-bit MCU and DSC Programmer’s Reference Manual
DS70157F-page 50 © 2005-2011 Microchip Technology Inc.
Table 3-11: DSP Instructions (dsPIC30F, dsPIC33F and dsPIC33E Devices)
Assembly Syntax Description Words Cycles
Page
Number
ADD Acc Add accumulators 1 1 103
ADD Wso,#Slit4,Acc 16-bit signed add to Acc 1 1
(1)
104
CLR Acc,[Wx],Wxd,[Wy],Wyd,AWB Clear Acc 1 1 186
ED Wm*Wm,Acc,[Wx],[Wy],Wxd Euclidean distance
(no accumulate)
1 1 239
EDAC Wm*Wm,Acc,[Wx],[Wy],Wxd Euclidean distance 1 1 241
LAC Wso,#Slit4,Acc Load Acc 1 1
(1)
265
MAC Wm*Wn,Acc,[Wx],Wxd,[Wy],Wyd,AWB Multiply and accumulate 1 1 275
MAC Wm*Wm,Acc,[Wx],Wxd,[Wy],Wyd Square and accumulate 1 1 277
MOVSAC Acc,[Wx],Wxd,[Wy],Wyd,AWB Move Wx to Wxd and Wy to Wyd 1 1 293
MPY Wm*Wn,Acc,[Wx],Wxd,[Wy],Wyd Multiply Wn by Wm to Acc 1 1 295
MPY Wm*Wm,Acc,[Wx],Wxd,[Wy],Wyd Square to Acc 1 1 297
MPY.N Wm*Wn,Acc,[Wx],Wxd,[Wy],Wyd -(Multiply Wn by Wm) to Acc 1 1 299
MSC Wm*Wn,Acc,[Wx],Wxd,[Wy],Wyd,AWB Multiply and subtract from Acc 1 1 301
NEG Acc Negate Acc 1 1 335
SAC Acc,#Slit4,Wdo Store Acc 1 1 389
SAC.R Acc,#Slit4,Wdo Store rounded Acc 1 1 391
SFTAC Acc,#Slit6 Arithmetic shift Acc by Slit6 1 1 397
SFTAC Acc,Wn Arithmetic shift Acc by (Wn) 1 1 398
SUB Acc Subtract accumulators 1 1 410
Note 1: In dsPIC33E and PIC24E devices, read and read-modify-write operations on non-CPU Special Function
Registers require an additional cycle when compared to dsPIC30F, dsPIC33F, PIC24F and PIC24H
devices.

- 1
- 2
…
- 48
- 49
- 50
- 51
- 52
…
- 501
- 502