Vault 7: Projects
This publication series is about specific projects related to the Vault 7 main publication.
© 2005-2011 Microchip Technology Inc. DS70157F-page 491
Reference
7
LNK #lit14
Link Frame Pointer 1 1 — — — — — — —
LSR f {,WREG}
Destination = logical right shift f, MSb → C 1 1 — — — — — — —
LSR Ws,Wd
Wd = logical right shift Ws, MSb → C 1 1 — — — — — — —
LSR Wb,#lit4,Wnd
Wnd = logical right shift Wb by lit4, MSb → C 1 1 — — — — — — —
LSR Wb,Wns,Wnd
Wnd = logical right shift Wb by Wns, MSb → C 1 1 — — — — — — —
MAC
Wm*Wn,Acc,[Wx],Wxd,[Wy],
Wyd,AWB
(2)
Multiply and accumulate 1 1
—
MAC
Wm*Wm,Acc,[Wx],Wxd,[Wy],
Wyd
(2)
Square and accumulate 1 1
—
MOV f {,WREG}
Move f to destination 1 1 — — — — — — —
MOV WREG,f
Move WREG to f 1 1 — — — — — — —
MOV f,Wnd
Move f to Wnd 1 1 — — — — — — —
MOV Wns,f
Move Wns to f 1 1 — — — — — — —
MOV.B #lit8,Wnd
Move 8-bit unsigned literal to Wnd 1 1 — — — — — — —
MOV #lit16,Wnd
Move 16-bit literal to Wnd 1 1 — — — — — — —
MOV [Ws+Slit10],Wnd
Move [Ws + Slit10] to Wnd 1 1 — — — — — — —
MOV Wns,[Wd+Slit10]
Move Wns to [Wd + Slit10] 1 1 — — — — — — —
MOV Wso,Wdo
Move Wso to Wdo 1 1 — — — — — — —
MOV.D Wns,Wnd
Move double Wns to Wnd:Wnd + 1 1 2 — — — — — — —
MOV.D Wns,Wnd
Move double Wns:Wns + 1 to Wnd 1 2 — — — — — — —
MOVPAG #lit10,DSRPAG
(3)
Move 10-bit literal to DSRPAG 1 1 — — — — — — —
MOVPAG #lit9,DSWPAG
(3)
Move 9-bit literal to DSWPAG 1 1 — — — — — — —
MOVPAG #lit8,TBLPAG
(3)
Move 8-bit literal to TBLPAG 1 1 — — — — — — —
MOVPAG Wn,DSRPAG
(3)
Move Wn to DSRPAG 1 1 — — — — — — —
MOVPAG Wn,DSWPAG
(3)
Move Wn to DSWPAG 1 1 — — — — — — —
MOVPAG Wn,TBLPAG
(3)
Move Wn to TBLPAG 1 1 — — — — — — —
MOVSAC Acc,[Wx],Wxd,[Wy],Wyd,AWB
(2)
Move [Wx] to Wxd, and [Wy] to Wyd 1 1 — — — — — — —
MPY
Wm*Wn,Acc,[Wx],Wxd,[Wy],
Wyd
(2)
Multiply Wn by Wm to accumulator 1 1
—
Table 7-2: Instruction Set Summary Table (Continued)
Assembly Syntax
Mnemonic, Operands
Description Words Cycles OA
(2)
OB
(2)
SA
(1,2)
SB
(1,2)
OAB
(2)
SAB
(1,2)
DC N O
Legend:
set or cleared; may be cleared, but never set; may be set, but never cleared; ‘1’ always set; ‘0’ always cleared; — unchanged
Note 1: SA, SB and SAB are only modified if the corresponding saturation is enabled, otherwise unchanged.
2: This instruction/operand is only available in dsPIC30F, dsPIC33F, and dsPIC33E devices.
3: This instruction/operand is only available in PIC24E and dsPIC33E devices.
4: This instruction/operand is only available in dsPIC33E devices.
5: This instruction/operand is only available in PIC24F, PIC24H, dsPIC30F, and dsPIC33F devices.
6: This instruction/operand is only available in dsPIC30F and dsPIC33F devices.
Protego_Release_01_05-Related-OEM-Documentation-PIC24FJ64GA004-Programmers_Reference_Manual.pdf