1# mach: all 2# output: 3# sim: --environment operating 4 5.include "t-macros.i" 6 7 start 8 9 ldi r8, 0xbeef 10 mvtaclo r8, a0 11 checkacc2 1 a0 0xff 0xffff 0xbeef 12 13 mvtacg r0, a0 14 checkacc2 2 a0 0x00 0xffff 0xbeef 15 16 ldi r8, 0xdead 17 mvtachi r8, a0 18 checkacc2 3 a0 0xff 0xdead 0xbeef 19 20 loadacc2 a1 0xfe 0xbeef 0xdead 21 checkacc2 4 a1 0xfe 0xbeef 0xdead 22 23 exit0 24