Instruction set
BCF | Bit Clear f |
Form |
[label] BCF f, b
( label is omitable, shows SPACE code ) |
Operands |
f : Register file addesss ( 00(00h) to 127(7Fh) )
b : Bit address ( 0 to 7 ) |
Operation |
It makes the specification bit of the contents of the f register 0.
(EX) ![](gif/pic_bcf2.gif) | ![](gif/pic_bcf1e.gif) |
Flag | No change |
Instruction
cycles | 1 cycle |
BSF | Bit Set f |
Form |
[label] BSF f, b
( label is omitable, shows SPACE code ) |
Operands |
f : Register file addesss ( 00(00h) to 127(7Fh) )
b : Bit address ( 0 to 7 ) |
Operation |
It makes the specification bit of the contents of the f register 1.
(EX) ![](gif/pic_bsf2.gif) | ![](gif/pic_bsf1e.gif) |
Flag | No change |
Instruction
cycles | 1 cycle |
BTFSC | Bit Test f, Skip if Clear |
Form |
[label] BTFSC f, b
( label is omitable, shows SPACE code ) |
Operands |
f : Register file addesss ( 00(00h) to 127(7Fh) )
b : Bit address ( 0 to 7 ) |
Operation | It checks the specification bit of the f register, and in case of 0, it changes the following instruction into the NOP and executes it. (It executes the instruction of the present address +2.) | ![](gif/pic_btfsce.gif) |
Flag | No change |
Instruction
cycles | 1 cycle |
![](gif/blank_1.gif)
BTFSS | Bit Test f, Skip if Set |
Form |
[label] BTFSS f, b
( label is omitable, shows SPACE code ) |
Operands |
f : Register file addesss ( 00(00h) to 127(7Fh) )
b : Bit address ( 0 to 7 ) |
Operation | It checks the specification bit of the f register, and in case of 1, it changes the following instruction into the NOP and executes it. (It executes the instruction of the present address +2.) | ![](gif/pic_btfsse.gif) |
Flag | No change |
Instruction
cycles | 1 cycle |
Next instructions
|