Y
Hacker News
new
|
ask
|
show
|
jobs
by
lochsh
2265 days ago
Oh actually I was being sleepy and hadn't understood what you'd said! I hadn't realised you could do that actually, neat, thanks!
So you could do `mov r1, #0x01000000` right? nice.
1 comments
dmitrygr
2265 days ago
yup, some other constants are also loadable in one instr, of the form 0xXX00XX00, 0x00XX00XX, 0xXXXXXXXX where XX is any byte
link
saagarjha
2265 days ago
Do you not need the usual LSL, or does the assembler take care of that?
link
dmitrygr
2265 days ago
it does, yes
link