Bset (Bit Set) - Renesas H8/300 Series Programming Manual

Table of Contents

Advertisement

BSET (Bit SET)

<Operation>
1 → (<Bit No.> of <EAd>)
<Assembly-Language Format>
BSET #xx:3,<EAd>
BSET Rn,<EAd>
<Examples>
BSET #3, R2L
BSET R2H, @R6
BSET #7, @H'FFE4:8
<Operand Size>
Byte
<Description>
This instruction sets a specified bit in the destination operand to "1." 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.
59
H
N
Z
0
1
BSET
V
C

Advertisement

Table of Contents
loading

Table of Contents