Bclr (Bit Clear) - Renesas H8/300 Series Programming Manual

Table of Contents

Advertisement

BCLR (Bit CLeaR)

<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
<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.
<EAd>*
Byte data in register or memory
*Register direct, register indirect, or absolute addressing.
<Condition Code>
I
— — — — — — — —
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.
#xx:3 or Rn
7
Bit No.
47
H
N
Z
0
0
BCLR
V
C

Advertisement

Table of Contents
loading

Table of Contents