Re:ARM immediate value encoding
by rbanffy on Sunday January 12, 2014 @07:55PM
(#7048210)
It can generate 4096 different slightly useful 32-bit values. For others, you may assemble them using a variety of methods.
[ Parent
| on HN ]
Re:ARM immediate value encoding
by tasty_freeze on Sunday January 12, 2014 @08:36PM
(#7048337)
It generates fewer than 4096 unique values, as some values map to the same thing. The most obvious being that 0 shifted any number of places produces 0, but also 0x10 shifted left 0 is the same as 0x04 shifted left 2 is the same as 0x01 shifted left 4.