<<< Reading sub-word example | Index | System calls >>> |
sb store byte (low order byte)
sh store halfword (low order halfword)
Important note: lw and sw must respect word boundaries:
the address (base+offset) must be divisible by 4
likewise for lh, lhu, and sh the address must be divisible by 2
<<< Reading sub-word example | Index | System calls >>> |