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 174 © 2005-2011 Microchip Technology Inc.
Example 1:
BTSTS.B 0x1201, #0x3 ; Set Z = complement of bit 3 in 0x1201,
; then set bit 3 of 0x1201 = 1
Before
Instruction
After
Instruction
Data 1200 F7FF Data 1200 FFFF
SR 0000 SR 0002 (Z = 1)
Example 2:
BTSTS 0x808, #15 ; Set Z = complement of bit 15 in 0x808,
; then set bit 15 of 0x808 = 1
Before
Instruction
After
Instruction
RAM300 8050 RAM300 8050
SR 0002 (Z = 1) 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