BSET (Bit SET)
BSET
<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.
*Register direct, register indirect, or absolute addressing.
<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
<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.
I
H
N
Z
V
C
—
—
—
— —
— —
—
1
#xx:3 or Rn
Bit No.
7
0
Byte data in register or memory
<EAd>*
→
59
Содержание H8/300 Series
Страница 2: ...H8 300 Programming Manual...