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 170 © 2005-2011 Microchip Technology Inc.
Example 1:
BTST.C [W0++], #0x3 ; Set C = bit 3 in [W0]
; Post-increment W0
Before
Instruction
After
Instruction
W0 1200 W0 1202
Data 1200 FFF7 Data 1200 FFF7
SR 0001 (C = 1) SR 0000
Example 2:
BTST.Z W0, #0x7 ; Set Z = complement of bit 7 in W0
Before
Instruction
After
Instruction
W0 F234 W0 F234
SR 0000 SR 0002 (Z = 1)
Protego_Release_01_05-Related-OEM-Documentation-PIC24FJ64GA004-Programmers_Reference_Manual.pdf