Set bit : Set t1 to t2 with the single bit numbered by the low bits of t3 set
bset
Operands
reg, reg, regVariants
- Set bit : Set t1 to t2 with the single bit numbered by the low bits of t3 set bset t1,t2,t3
.text
li t0, 9
li t1, 2
# t0=9, t1=2; bset writes 13 to t2.
bset t2, t0, t1