make Ea* functions easier to work with

no functional changes
don't pass trash in MSB bits to write8 and write16 handlers

otherwise it effectively breaks the C ABI
support a few ARMv6 instructions