Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on ARM immediate value encoding (2014). Parent comment
When writing ARM assembly, the assembler (at least the ones I've seen) abstract this detail away from you.
You can use
ldr r0, =0xff000000
ARM is fun.
There are no comments on this comment yet.
When writing ARM assembly, the assembler (at least the ones I've seen) abstract this detail away from you.
You can use
and the assembler will emit a MOV if it can, and if it can't it will put the value somewhere in RAM and use LDR to load it up.ARM is fun.