2.2.10 BILD
BILD (Bit Invert LoaD)
Bit Load
Operation
¬ (<bit No.> of <EAd>)
→
C
Assembly-Language Format
BILD
#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: Loaded with the inverse of the specified bit.
I
UI
H
U
N
Z
V
C
—
—
—
—
—
—
—
↕
Description
This instruction loads the inverse of a specified bit from the destination operand into the carry bit.
The bit number is specified by 3-bit immediate data. The destination operand contents 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.
Instruction Format
1st byte
2nd byte
3rd byte
4th byte
Register direct
BILD
#xx:3.Rd
7
7
1 IMM
rd
2
Register indirect
BILD
#xx:3.@ERd
7
C
0 erd
0
7
7
1 IMM
0
6
Absolute address
BILD
#xx:3.@aa:8
7
E
abs
7
7
1 IMM
0
6
No. of
States
Addressing
Mode
*
Mnemonic
Operands
C
7
0
Specified by #xx:3
Bit No.
Invert
<EAd>
57