BTST (Bit TeST)
Bit Test
Operand Format and Number of States Required for Execution
Note:
*
The addressing mode is the addressing mode of the destination operand <EAd>.
Notes
For the @aa:8 access range, refer to the relevant microcontroller hardware manual.
Instruction Format
1st byte
2nd byte
3rd byte
4th byte
Register direct
BTST
#xx:3, Rd
7
3
0 IMM
rd
2
Register indirect
BTST
#xx:3, @ERd
7
C
0 erd
0
7
3
0 IMM
0
6
Absolute address
BTST
#xx:3, @aa:8
7
E
abs
7
3
0 IMM
0
6
Register direct
BTST
Rn, Rd
6
3
rn
rd
2
Register indirect
BTST
Rn, @ERd
7
C
0 erd
0
6
3
rn
0
6
Absolute address
BTST
Rn, @aa:8
7
E
abs
6
3
rn
0
6
No. of
States
Addressing
Mode
*
Mnemonic
Operands
70