User manual

93
Bit Conversion Instructions
Mnemonic Name
Word ladder
symbol
Double word
ladder symbol
Description
BSET Bit Set
Set N
th
bit of D to 1.
BRST Bit Reset
Reset N
th
bit of D to 0.
BNOT Bit Not
Invert N
th
bit of D.
BTST Bit Test
Store the value of N
th
bit of D to F1.8.
SUM Sum
Store the number of bits in S that are
1 to D.
SC Set Carry
Set carry bit (F1.8) to 1.
RC Reset Carry
Reset carry bit (F1.8) to 0.
CC Complement Carry
Invert carry bit (F1.8).
When N=15 1 (N=0~15)
W h e n N =3
W hen N=4
When N= 6
No of 1=7
D=7