30.3.1.3. ARM LDRH and LDRB instructions
There are LDR variants that load less than full 4 bytes:
-
userland/arch/arm/ldrb.S: load byte
-
userland/arch/arm/ldrh.S: load half word
These also have signed and unsigned versions to either zero or one extend the result:
-
userland/arch/aarch64/ldrsw.S: load byte and sign extend