# Vault 7: Projects

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

### Protego

# PIC24FJ64GA004 - Programmers Reference Manual

- 1
- 2
…
- 390
- 391
- 392
- 393
- 394
…
- 501
- 502

16-bit MCU and DSC Programmer’s Reference Manual
DS70157F-page 392 © 2005-2011 Microchip Technology Inc.
Example 1:
SAC.R A, #4, W5
; Right shift ACCA by 4
; Store rounded result to W5
; CORCON = 0x0010 (SATDW = 1)
Before
Instruction
After
Instruction
W5 B900 W5 0121
ACCA 00 120F FF00 ACCA 00 120F FF00
CORCON 0010 CORCON 0010
SR 0000 SR 0000
Example 2:
SAC.R B, #-4, [W5++]
; Left shift ACCB by 4
; Store rounded result to [W5], Post-increment W5
; CORCON = 0x0010 (SATDW = 1)
Before
Instruction
After
Instruction
W5 2000 W5 2002
ACCB FF F891 8F4C ACCB FF F891 8F4C
Data 2000 5BBE Data 2000 8919
CORCON 0010 CORCON 0010
SR 0000 SR 0000

- 1
- 2
…
- 390
- 391
- 392
- 393
- 394
…
- 501
- 502