mirror of
https://github.com/pkivolowitz/asm_book.git
synced 2026-06-21 06:16:47 +08:00
5 lines
No EOL
128 B
Text
5 lines
No EOL
128 B
Text
SetB: ldrb w3, [x0]
|
|
bfi w3, w1, 1, 2 // copy bit 0..1 in w1 to bit 1..2 in w3
|
|
strb w3, [x0]
|
|
ret
|
|
|