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