Vault 7: Projects
This publication series is about specific projects related to the Vault 7 main publication.
© 2005-2011 Microchip Technology Inc. DS70157F-page 489
Reference
7
CP f
Compare (f – WREG) 1 1 — — — — — —
CP Wb,#lit5
Compare (Wb – lit5) 1 1 — — — — — —
CP Wb,#lit8
Compare (Wb – lit8) 1 1 — — — — — —
CP Wb,Ws
Compare (Wb – Ws) 1 1 — — — — — —
CP0 f
Compare (f – 0x0000) 1 1 — — — — — — 1
CP0 Ws
Compare (Ws – 0x0000) 1 1 — — — — — — 1
CPB f
Compare with borrow (f – WREG – C) 1 1 — — — — — —
CPB Wb,#lit5
Compare with borrow (Wb – lit5 – C) 1 1 — — — — — —
CPB Wb,#lit8
Compare with borrow (Wb – lit8 – C) 1 1 — — — — — —
CPB Wb,Ws
Compare with borrow (Wb – Ws – C) 1 1 — — — — — —
CPBEQ Wb,Wn,Expr
(3)
Compare Wb with Wn, branch if = 1
1
(5)
— — — — — — —
CPBGT Wb,Wn,Expr
(3)
Signed Compare Wb with Wn, branch if > 1
1
(5)
— — — — — — —
CPBLT Wb,Wn,Expr
(3)
Signed Compare Wb with Wn, branch if < 1
1
(5)
— — — — — — —
CPBNE Wb,Wn,Expr
(3)
Compare Wb with Wn, branch if ≠ 1
1
(5)
— — — — — — —
CPSEQ Wb,Wn
Compare (Wb with Wn), skip if = 1
1
(2 or 3)
— — — — — — —
CPSGT Wb,Wn
Signed Compare (Wb with Wn), skip if > 1
1
(2 or 3)
— — — — — — —
CPSLT Wb,Wn
Signed Compare (Wb with Wn), skip if < 1
1
(2 or 3)
— — — — — — —
CPSNE Wb,Wn
Compare (Wb with Wn), skip if ≠ 1
1
(2 or 3)
— — — — — — —
DAW.B Wn
Wn = decimal adjust Wn 1 1 — — — — — — —
DEC f {,WREG}
Destination = f – 1 1 1 — — — — — —
DEC Ws,Wd
Wd = Ws – 1 1 1 — — — — — —
DEC2 f {,WREG}
Destination = f – 2 1 1 — — — — — —
DEC2 Ws,Wd
Wd = Ws – 2 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