2.2.17 BSET
BSET (Bit SET)
Bit Set
Operation
1
→
(<bit No.> of <EAd>)
Assembly-Language Format
BSET
#xx:3, <EAd>
BSET
Rn, <EAd>
Operand Size
Byte
Condition Code
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
UI
H
U
N
Z
V
C
—
—
—
—
—
—
—
—
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 a general register. The specified bit
is not tested. The condition code flags are not altered.
Available Registers
Rd:
R0L to R7L, R0H to R7H
Rn:
R0L to R7L, R0H to R7H
ERd: ER0 to ER7
7
0
Bit No.
1
Specified by #xx:3 or Rn
<EAd>
65