1# mach: all 2# output: 3# sim: --environment operating 4 5.include "t-macros.i" 6 7 start 8 9 loadacc2 a0 0x00 0x7FFF 0x8000 10test_rachi_1: 11 rachi r4, a0, 0 12 check 1 r4 0x7FFF 13 14 15 loadacc2 a0 0xFF 0x8000 0x1000 16test_rachi_2: 17 rachi r4, a0, 0 18 check 2 r4 0x8000 19 20 21 loadacc2 a0 0x00 0x1000 0xA000 22test_rachi_3: 23 rachi r4, a0, 0 24 check 3 r4 0x1001 25 26 27 loadacc2 a0 0xFF 0xA000 0x7FFF 28test_rachi_4: 29 rachi r4, a0, 0 30 check 4 r4 0xa000 31 32 exit0 33