1.include "macros.inc" 2 3start 4 5test_name SEXTH_1 6mvi r1, 0 7sexth r3, r1 8check_r3 0 9 10test_name SEXTH_2 11load r1 0x7fff 12sexth r3, r1 13check_r3 0x00007fff 14 15test_name SEXTH_3 16load r1 0x8000 17sexth r3, r1 18check_r3 0xffff8000 19 20end 21