BCLR (Bit CLeaR)
BCLR
<Description>
This instruction clears a specified bit in the destination operand to "0." The bit number can be
specified by 3-bit immediate data, or by the lower three bits of an 8-bit general register. The
destination operand can be located in a general register or memory.
The specified bit is not tested before being cleared. The condition code flags are not altered.
*Register direct, register indirect, or absolute addressing.
#xx:3 or Rn
Bit No.
7
0
0
Byte data in register or memory
<EAd>*
→
<Operation>
0
→
(<Bit No.> of <EAd>)
<Assembly-Language Format>
BCLR #xx:3, <EAd>
BCLR Rn, <EAd>
<Examples>
BCLR #0, ROL
BCLR #1, @R5
BCLR R6L, @H'FFCO:8
<Operand Size>
Byte
<Condition Code>
I: Previous value remains unchanged.
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.
47
I
H
N
Z
V
C
—
—
—
— —
— —
—
Содержание H8/300 Series
Страница 2: ...H8 300 Programming Manual...