1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
.include "t-macros.i" start load r2 0xffff8000 test_zxh: zxh r2 check r2 0x80 load r2 0xffff7fff test_zxh2: zxh r2 check r2 0x7fff exit0