
UM012811-0904
eZ8 CPU Instruction Set Description
eZ8 CPU
User Manual
69
BCLR
Bit Clear
BCLR bit, dst
Operation
dst[bit]
←
0
Description
The selected bit in the destination operand is 0. All other bits are unaffected.
Flags
Attributes
Example
•
If Working Register R7 contains the value
38H
(00111000B), the statement:
BCLR 4, R7
Object Code: E2 47
leaves the value
28H
(00101000B)
in Working Register R7 and clears the V flag.
C
Unaffected.
Z
Set if the result is zero; reset otherwise.
S
Set if the result is negative; reset otherwise.
V
Reset to 0.
D
Unaffected.
H
Unaffected.
Mnemonic
Bit, Destination
Opcode (Hex)
Operand 1
Operand 2
Operand 3
BCLR
bit, r1
E2
{0B, bit, r1}
—
—