Merge branch 'master' of git://git.qemu.org/qemu
[qemu/mdroth.git] / tests / lm32 / test_sexth.S
bloba059ec3ee6dcc711def857b9a3118e2c84619f5d
1 .include "macros.inc"
3 start
5 test_name SEXTH_1
6 mvi r1, 0
7 sexth r3, r1
8 check_r3 0
10 test_name SEXTH_2
11 load r1 0x7fff
12 sexth r3, r1
13 check_r3 0x00007fff
15 test_name SEXTH_3
16 load r1 0x8000
17 sexth r3, r1
18 check_r3 0xffff8000
20 end