Vault 7: Projects
This publication series is about specific projects related to the Vault 7 main publication.
© 2005-2011 Microchip Technology Inc. DS70157F-page 45
Section 3. Instruction Set Overview
Instruction Set
Overview
3
Table 3-6: Bit Instructions
Assembly Syntax Description Words Cycles
(1)
Page
Number
BCLR f,#bit4 Bit clear f 1 1 123
BCLR Ws,#bit4 Bit clear Ws 1 1 124
BSET f,#bit4 Bit set f 1 1 152
BSET Ws,#bit4 Bit set Ws 1 1 153
BSW.C Ws,Wb Write C bit to Ws<Wb> 1 1 155
BSW.Z Ws,Wb Write Z bit to Ws<Wb> 1 1 155
BTG f,#bit4 Bit toggle f 1 1 157
BTG Ws,#bit4 Bit toggle Ws 1 1 158
BTST f,#bit4 Bit test f to Z 1 1 168
BTST.C Ws,#bit4 Bit test Ws to C 1 1 169
BTST.Z Ws,#bit4 Bit test Ws to Z 1 1 169
BTST.C Ws,Wb Bit test Ws<Wb> to C 1 1 171
BTST.Z Ws,Wb Bit test Ws<Wb> to Z 1 1 171
BTSTS f,#bit4 Bit test f to Z, then set f 1 1 173
BTSTS.C Ws,#bit4 Bit test Ws to C then set Ws 1 1 175
BTSTS.Z Ws,#bit4 Bit test Ws to Z then set Ws 1 1 175
FBCL Ws,Wnd Find bit change from left (MSb) side 1 1 244
FF1L Ws,Wnd Find first one from left (MSb) side 1 1 246
FF1R Ws,Wnd Find first one from right (LSb) side 1 1 248
Note 1: In dsPIC33E and PIC24E devices, read and read-modify-write operations on non-CPU Special Function
Registers require an additional cycle when compared to dsPIC30F, dsPIC33F, PIC24F and PIC24H
devices.
Protego_Release_01_05-Related-OEM-Documentation-PIC24FJ64GA004-Programmers_Reference_Manual.pdf