Vault 7: Projects

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

DS70157F-page 494 © 2005-2011 Microchip Technology Inc.
SAC.R Acc,#Slit4,Wdo
(2)
Store rounded Accumulator 1 1
SE Ws,Wd
Wd = sign-extended Ws 1 1
SETM f
f = 0xFFFF 1 1
SETM WREG
WREG = 0xFFFF 1 1
SETM Wd
Wd = 0xFFFF 1 1
SFTAC Acc,#Slit6
(2)
Arithmetic shift accumulator by Slit6 1 1
SFTAC Acc,Wb
(2)
Arithmetic shift accumulator by (Wb) 1 1
SL f {,WREG}
Destination = arithmetic left shift f 1 1
SL Ws,Wd
Wd = arithmetic left shift Ws 1 1
SL Wb,#lit4,Wnd
Wnd = left shift Wb by lit4 1 1
SL Wb,Wns,Wnd
Wnd = left shift Wb by Wns 1 1
SUB f {,WREG}
Destination = f – WREG 1 1
SUB #lit10,Wn
Wn = Wn – lit10 1 1
SUB Wb,#lit5,Wd
Wd = Wb – lit5 1 1
SUB Wb,Ws,Wd
Wd = Wb – Ws 1 1
SUB Acc
(2)
Subtract accumulators 1 1
SUBB f {,WREG}
destination = f – WREG – (C) 1 1
SUBB #lit10,Wn
Wn = Wn – lit10 – (C) 1 1
SUBB Wb,#lit5,Wd
Wd = Wb – lit5 – (C) 1 1
SUBB Wb,Ws,Wd
Wd = Wb – Ws – (C) 1 1
SUBBR f {,WREG}
Destination = WREG – f – (C) 1 1
SUBBR Wb,#lit5,Wd
Wd = lit5 – Wb – (C) 1 1
SUBBR Wb,Ws,Wd
Wd = Ws – Wb – (C) 1 1
SUBR f {,WREG}
Destination = WREG – f 1 1
SUBR Wb,#lit5,Wd
Wd = lit5 – Wb 1 1
SUBR Wb,Ws,Wd
Wd = Ws – Wb 1 1
SWAP Wn
Wn = byte or nibble swap Wn 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.

e-Highlighter

Click to send permalink to address bar, or right-click to copy permalink.

Un-highlight all Un-highlight selectionu Highlight selectionh