Fix typo in comment (relevent -> relevant)
[qemu/ar7.git] / tests / lm32 / test_eret.S
blob6830bd1abf3d49fcf208a2bfb606c8ca704e84fb
1 .include "macros.inc"
3 start
5 test_name ERET_1
6 mvi r1, 2
7 wcsr IE, r1
8 load ea mark
9 eret
10 tc_fail
11 bi 1f
13 mark:
14 tc_pass
17 test_name ERET_2
18 rcsr r3, IE
19 check_r3 3
21 test_name ERET_3
22 mvi r1, 0
23 wcsr IE, r1
24 load ea mark2
25 eret
26 tc_fail
27 bi 1f
29 mark2:
30 tc_pass
33 test_name ERET_4
34 rcsr r3, IE
35 check_r3 0
37 end