summaryrefslogtreecommitdiff
path: root/tests/tcg/lm32/test_break.S
blob: 0384fc6128f58aae8da0eb7db738f4adffa9f1a1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
.include "macros.inc"

start

test_name BREAK_1
mvi r1, 1
wcsr IE, r1
insn:
break
check_excp 1

test_name BREAK_2
mv r3, ba
check_r3 insn

test_name BREAK_3
rcsr r3, IE
check_r3 4

end