With the code
mov #1234h, &0x2000 mov #5678h, &0x2002 addx.a #11111h, &0x2000
0x11111 will be added to the lower 20 bits and the upper 12 bits of the 32 bit value at 0x2000 will be cleared.
Is this documented somewhere and can I rely on the fact that the upper 12 bits will always be
cleared when working on a .a destination in memory? With other words, if I want to clear 4
bytes in memory (on an even address, of course) can I assume that
clrx.a &dest
will work reliably?