3 ms·
> on the other hand allow only to encode some kind of constants, bases on a rather complicated scheme that I will not explain here; Oh, it's not that bad: It c
by nullc 10y ago
> on the other hand allow only to encode some kind of constants, bases on a rather complicated scheme that I will not explain here;
Oh, it's not that bad: It codes an 8-bit value and a 4-bit circular shift-by-2-bits.
- pm215 10y agoAlso non-ancient ARM chips add the movw and movt instructions so you can load a 32 bit constant simply in 2 insns rather than having to play games with sequences of arithmetic insns or use a constant pool.
- wolfgke 10y agoI accept this point and admit to be a little bit biased, since I learned a lot about ARM disassembly by reverse engineering code that runs on an ARMv5 ("ancient" by your standards) core.