News for hackers. Stuff that matters.
Re:ARM immediate value encoding (2014) by hrydgard on Tuesday January 30, 2018 @03:35PM (#16268776)
Modern ARM actually has a 16-bit immediate version of MOV, plus MOVT which is the same but moves to the top 16 bits of a register. With a pair of those, you can load any 32-bit value in 2 instructions, without polluting the data cache like you would with LDR [pc+offset].

There are no comments on this comment yet.