Add qemu 2.4.0
[kvmfornfv.git] / qemu / tests / tcg / lm32 / test_sextb.S
1 .include "macros.inc"
2
3 start
4
5 test_name SEXTB_1
6 mvi r1, 0
7 sextb r3, r1
8 check_r3 0
9
10 test_name SEXTB_2
11 mvi r1, 0x7f
12 sextb r3, r1
13 check_r3 0x0000007f
14
15 test_name SEXTB_3
16 mvi r1, 0x80
17 sextb r3, r1
18 check_r3 0xffffff80
19
20 end