1# mach: all 2# output: 3# sim: --environment operating 4 5.include "t-macros.i" 6 7 start 8 9test_sachi_1: 10 loadacc2 a0 0x00 0xAFFF 0x0000 11 sachi r4, a0 12 check 1 r4 0x7FFF 13 14 15test_sachi_2: 16 loadacc2 a0 0xFF 0x8000 0x1000 17 sachi r4, a0 18 check 2 r4 0x8000 19 20 21test_sachi_3: 22 loadacc2 a0 0x00 0x1000 0xA000 23 sachi r4, a0 24 check 3 r4 0x1000 25 26 exit0 27