Table of Contents

Advertisement

2.2.17 BSET

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

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents