# Vault 7: Projects

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

### Protego

# PIC24FJ64GA004 - Programmers Reference Manual

- 1
- 2
…
- 296
- 297
- 298
- 299
- 300
…
- 501
- 502

16-bit MCU and DSC Programmer’s Reference Manual
DS70157F-page 298 © 2005-2011 Microchip Technology Inc.
Example 1:
MPY W6*W6, A, [W9]+=2, W6
; Square W6 and store to ACCA
; Fetch [W9] to W6, Post-increment W9 by 2
; CORCON = 0x0000 (fractional multiply, no saturation)
Before
Instruction
After
Instruction
W6 6500 W6 B865
W9 0900 W9 0902
ACCA 00 7C80 0908 ACCA 00 4FB2 0000
Data 0900 B865 Data 0900 B865
CORCON 0000 CORCON 0000
SR 0000 SR 0000
Example 2:
MPY W4*W4, B, [W9+W12], W4, [W10]+=2, W5
; Square W4 and store to ACCB
; Fetch [W9+W12] to W4
; Fetch [W10] to W5, Post-increment W10 by 2
; CORCON = 0x0000 (fractional multiply, no saturation)
Before
Instruction
After
Instruction
W4 E228 W4 8911
W5 9000 W5 F678
W9 1700 W9 1700
W10 1B00 W10 1B02
W12 FF00 W12 FF00
ACCB 00 9834 4500 ACCB 00 06F5 4C80
Data 1600 8911 Data 1600 8911
Data 1B00 F678 Data 1B00 F678
CORCON 0000 CORCON 0000
SR 0000 SR 0000

- 1
- 2
…
- 296
- 297
- 298
- 299
- 300
…
- 501
- 502