The ARM processor (Thumb-2), part 9: Sign and zero extension

2 · Raymond Chen · June 10, 2021, 2:02 p.m.
I noted last time that you could use the bitfield extraction instructions to do zero- and sign-extension of bytes and halfwords to words. But there are dedicated instructions for these operations which have smaller encodings if the source and destination registers are low. The post The ARM processor (Thumb-2), part 9: Sign and zero extension appeared first on The Old New Thing....