aboutsummaryrefslogtreecommitdiff
path: root/sim/testsuite/cris/asm/io6.ms
blob: 6ddeee1733e4fe3048f0fb8cc7da536d4039243f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# mach: crisv32
# ld: --section-start=.text=0
# requires: simoption --cris-900000xx
# sim: --cris-900000xx
# xerror:
# output: b1e\n
# output: core: 4 byte write to unmapped address 0x90000008 at 0x16\n
# output: program stopped with signal 11 (*).\n

; Check that invalid access to the simulator area is recognized.
; "FAIL" area.

 .include "testutils.inc"
 start
 move.d 0xb1e,$r3
 dumpr3
 move.d 0x90000008,$acr
 clear.d [$acr]
 move.d 0xbadc0de,$r3
 dumpr3
0:
 ba 0b
 nop