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

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

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