2.2.12 BIST
BIST (Bit Invert STore)
Bit Store
Operation
¬ C
→
(<bit No.> of <EAd>)
Assembly-Language Format
BIST
#xx:3, <EAd>
Operand Size
Byte
Condition Code
H: Previous value remains unchanged.
N: Previous value remains unchanged.
Z:
Previous value remains unchanged.
V: Previous value remains unchanged.
C: Previous value remains unchanged.
I
UI
H
U
N
Z
V
C
—
—
—
—
—
—
—
—
Description
This instruction stores the inverse of the carry bit in a specified bit location in the destination
operand. The bit number is specified by 3-bit immediate data. Other bits in the destination
operand remain unchanged.
Available Registers
Rd:
R0L to R7L, R0H to R7H
ERd: ER0 to ER7
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.
C
7
0
Specified by #xx:3
Bit No.
Invert
<EAd>
Instruction Format
1st byte
2nd byte
3rd byte
4th byte
Register direct
BIST
#xx:3,Rd
6
7
1 IMM
rd
2
Register indirect
BIST
#xx:3,@ERd
7
D
0 erd
0
6
7
1 IMM
0
8
Absolute address
BIST
#xx:3,@aa:8
7
F
abs
6
7
1 IMM
0
8
No. of
States
Addressing
Mode
*
Mnemonic
Operands
59