Vault 7: Projects

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

© 2005-2011 Microchip Technology Inc. DS70157F-page 165
Section 5. Instruction Descriptions
Instruction
Descriptions
5
Example 1:
007100 HERE: BTSS.B 0x1401, #0x1
007102 CLR WREG
007104 . . .
; If bit 1 of 0x1401 is 1,
; don’t clear WREG
Before
Instruction
After
Instruction
PC 00 7100 PC 00 7104
Data 1400 0280 Data 1400 0280
SR 0000 SR 0000
Example 2:
007100 HERE: BTSS 0x890, #0x9
007102 GOTO BYPASS
007104 . . .
007106 BYPASS: . . .
; If bit 9 of 0x890 is 1,
; skip the GOTO
Before
Instruction
After
Instruction
PC 00 7100 PC 00 7102
Data 0890 00FE Data 0890 00FE
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