Vault 7: Projects
This publication series is about specific projects related to the Vault 7 main publication.
DS70157F-page 486 © 2005-2011 Microchip Technology Inc.
7.2 INSTRUCTION SET SUMMARY TABLE
The complete 16-bit MCU and DSC device instruction set is summarized in Table 7-2. This table contains a
instruction set. It includes instruction assembly syntax, description, size (in 24-bit words), execution time (in
Status bits, and the page number in which the detailed description can be found.
Table 1-2 identifies the symbol
Instruction Set Summary Table.
Note: The instruction cycle counts listed here are for PIC24F, PIC24H, dsPIC30F and dsPIC33F devices. Some
additional cycles in PIC24E and dsPIC33E devices. Refer to
Section 3.3 “Instruction Set Summary T
5.4 “Instruction Descriptions” for details.
Table 7-2: Instruction Set Summary Table
Assembly Syntax
Mnemonic, Operands
Description Words Cycles OA
(2)
OB
(2)
SA
(1,2)
SB
(1,2)
OAB
(2)
SAB
(1,2)
DC
ADD f {,WREG}
Destination = f + WREG 1 1 — — — — — —
ADD #lit10,Wn
Wn = lit10 + Wn 1 1 — — — — — —
ADD Wb,#lit5,Wd
Wd = Wb + lit5 1 1 — — — — — —
ADD Wb,Ws,Wd
Wd = Wb + Ws 1 1 — — — — — —
ADD Acc
(2)
Add accumulators 1 1
—
ADD Wso,#Slit4,Acc
16-bit signed add to accumulator 1 1
—
ADDC f {,WREG}
Destination = f + WREG + (C) 1 1 — — — — — —
ADDC #lit10,Wn
Wn = lit10 + Wn + (C) 1 1 — — — — — —
ADDC Wb,#lit5,Wd
Wd = Wb + lit5 + (C) 1 1 — — — — — —
ADDC Wb,Ws,Wd
Wd = Wb + Ws + (C) 1 1 — — — — — —
AND f {,WREG}
Destination = f .AND. WREG 1 1 — — — — — — —
AND #lit10,Wn
Wn = lit10 .AND. Wn 1 1 — — — — — — —
AND Wb,#lit5,Wd
Wd = Wb .AND. lit5 1 1 — — — — — — —
AND Wb,Ws,Wd
Wd = Wb .AND. Ws 1 1 — — — — — — —
ASR f {,WREG}
Destination = arithmetic right shift f, LSb → C 1 1 — — — — — — —
ASR Ws,Wd
Wd = arithmetic right shift Ws, LSb → C 1 1 — — — — — — —
ASR Wb,#lit4,Wnd
Wnd = arithmetic right shift Wb by lit4, LSb → C 1 1 — — — — — — —
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