Merge branch 'master' of git://git.qemu.org/qemu
[qemu/mdroth.git] / tests / lm32 / test_scall.S
blobb442e32374d12de479ee79e8ba909d2c914ca31f
1 .include "macros.inc"
3 start
5 test_name SCALL_1
6 mvi r1, 1
7 wcsr IE, r1
8 insn:
9 scall
10 check_excp 64
12 test_name SCALL_2
13 mv r3, ea
14 check_r3 insn
16 test_name SCALL_3
17 rcsr r3, IE
18 check_r3 2
20 end