Vault 7: Projects

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

© 2005-2011 Microchip Technology Inc. DS70157F-page 163
Section 5. Instruction Descriptions
Instruction
Descriptions
5
Example 2:
002000 HERE: BTSC W6, #0xF
002002 GOTO BYPASS
002004 . . .
002006 . . .
002008 BYPASS: . . .
00200A . . .
; If bit 15 of W6 is 0,
; skip the GOTO
Before
Instruction
After
Instruction
PC 00 2000 PC 00 2006
W6 264F W6 264F
SR 0000 SR 0000
Example 3:
003400 HERE: BTSC [W6++], #0xC
003402 GOTO BYPASS
003404 . . .
003406 . . .
003408 BYPASS: . . .
00340A . . .
; If bit 12 of [W6] is 0,
; skip the GOTO
; Post-increment W6
Before
Instruction
After
Instruction
PC 00 3400 PC 00 3402
W6 1800 W6 1802
Data 1800 1000 Data 1800 1000
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