Vault 7: Projects
This publication series is about specific projects related to the Vault 7 main publication.
16-bit MCU and DSC Programmer’s Reference Manual
DS70157F-page 294 © 2005-2011 Microchip Technology Inc.
Example 1:
MOVSAC B, [W9], W6, [W11]+=4, W7, W13
; Fetch [W9] to W6
; Fetch [W11] to W7, Post-increment W11 by 4
; Store ACCA to W13
Before
Instruction
After
Instruction
W6 A022 W6 7811
W7 B200 W7 B2AF
W9 0800 W9 0800
W11 1900 W11 1904
W13 0020 W13 3290
ACCA 00 3290 5968 ACCA 00 3290 5968
Data 0800 7811 Data 0800 7811
Data 1900 B2AF Data 1900 B2AF
SR 0000 SR 0000
Example 2:
MOVSAC A, [W9]-=2, W4, [W11+W12], W6, [W13]+=2
; Fetch [W9] to W4, Post-decrement W9 by 2
; Fetch [W11+W12] to W6
; Store ACCB to [W13], Post-increment W13 by 2
Before
Instruction
After
Instruction
W4 76AE W4 BB00
W6 2000 W6 52CE
W9 1200 W9 11FE
W11 2000 W11 2000
W12 0024 W12 0024
W13 2300 W13 2302
ACCB 00 9834 4500 ACCB 00 9834 4500
Data 1200 BB00 Data 1200 BB00
Data 2024 52CE Data 2024 52CE
Data 2300 23FF Data 2300 9834
SR 0000 SR 0000
Protego_Release_01_05-Related-OEM-Documentation-PIC24FJ64GA004-Programmers_Reference_Manual.pdf