Vault 7: Projects

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

© 2005-2011 Microchip Technology Inc. DS70157F-page 187
Section 5. Instruction Descriptions
Instruction
Descriptions
5
Example 1:
CLR A, [W8]+=2, W4, W13 ; Clear ACCA
; Load W4 with [W8], post-inc W8
; Store ACCB to W13
Before
Instruction
After
Instruction
W4 F001 W4 1221
W8 2000 W8 2002
W13 C623 W13 5420
ACCA 00 0067 2345 ACCA 00 0000 0000
ACCB 00 5420 3BDD ACCB 00 5420 3BDD
Data 2000 1221 Data 2000 1221
SR 0000 SR 0000
Example 2:
CLR B, [W8]+=2, W6, [W10]+=2, W7, [W13]+=2 ; Clear ACCB
; Load W6 with [W8]
; Load W7 with [W10]
; Save ACCA to [W13]
; Post-inc W8,W10,W13
Before
Instruction
After
Instruction
W6 F001 W6 1221
W7 C783 W7 FF80
W8 2000 W8 2002
W10 3000 W10 3002
W13 4000 W13 4002
ACCA 00 0067 2345 ACCA 00 0067 2345
ACCB 00 5420 ABDD ACCB 00 0000 0000
Data 2000 1221 Data 2000 1221
Data 3000 FF80 Data 3000 FF80
Data 4000 FFC3 Data 4000 0067
SR 0000 SR 0000

e-Highlighter

Click to send permalink to address bar, or right-click to copy permalink.

Un-highlight all Un-highlight selectionu Highlight selectionh