# Vault 7: Projects

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

### Protego

# PIC24FJ64GA004 - Programmers Reference Manual

- 1
- 2
…
- 103
- 104
- 105
- 106
- 107
…
- 501
- 502

© 2005-2011 Microchip Technology Inc. DS70157F-page 105
Section 5. Instruction Descriptions
Instruction
Descriptions
5
Words:
1
Cycles:
1
(1)
Note 1:
In dsPIC33E and PIC24E devices, the listed cycle count does not apply to read and
read-modify-write operations on non-CPU Special Function Registers. For more
details, see
Note 3
in
Section 3.2.1 “Multi-Cycle Instructions”
.
ADD
16-bit Signed Add to Accumulator
Example 1:
ADD W0, #2, A ; Add W0 right-shifted by 2 to ACCA
Before
Instruction
After
Instruction
W0 8000 W0 8000
ACCA 00 7000 0000 ACCA 00 5000 0000
SR 0000 SR 0000
Example 2:
ADD [W5++], A ; Add the effective value of W5 to ACCA
; Post-increment W5
Before
Instruction
After
Instruction
W5 2000 W5 2002
ACCA 00 0067 2345 ACCA 00 5067 2345
Data 2000 5000 Data 2000 5000
SR 0000 SR 0000

- 1
- 2
…
- 103
- 104
- 105
- 106
- 107
…
- 501
- 502