# Vault 7: Projects

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

### Protego

# PIC24FJ64GA004 - Programmers Reference Manual

- 1
- 2
…
- 298
- 299
- 300
- 301
- 302
…
- 501
- 502

16-bit MCU and DSC Programmer’s Reference Manual
DS70157F-page 300 © 2005-2011 Microchip Technology Inc.
Example 1:
MPY.N W4*W5, A, [W8]+=2, W4, [W10]+=2, W5
; Multiply W4*W5, negate the result and store to ACCA
; Fetch [W8] to W4, Post-increment W8 by 2
; Fetch [W10] to W5, Post-increment W10 by 2
; CORCON = 0x0001 (integer multiply, no saturation)
Before
Instruction
After
Instruction
W4 3023 W4 0054
W5 1290 W5 660A
W8 0B00 W8 0B02
W10 2000 W10 2002
ACCA 00 0000 2387 ACCA FF FC82 7650
Data 0B00 0054 Data 0B00 0054
Data 2000 660A Data 2000 660A
CORCON 0001 CORCON 0001
SR 0000 SR 0000
Example 2:
MPY.N W4*W5, A, [W8]+=2, W4, [W10]+=2, W5
; Multiply W4*W5, negate the result and store to ACCA
; Fetch [W8] to W4, Post-increment W8 by 2
; Fetch [W10] to W5, Post-increment W10 by 2
; CORCON = 0x0000 (fractional multiply, no saturation)
Before
Instruction
After
Instruction
W4 3023 W4 0054
W5 1290 W5 660A
W8 0B00 W8 0B02
W10 2000 W10 2002
ACCA 00 0000 2387 ACCA FF F904 ECA0
Data 0B00 0054 Data 0B00 0054
Data 2000 660A Data 2000 660A
CORCON 0000 CORCON 0000
SR 0000 SR 0000

- 1
- 2
…
- 298
- 299
- 300
- 301
- 302
…
- 501
- 502