Projet_SETI_RISC-V/riscv-gnu-toolchain/binutils/sim/testsuite/cris/asm/io7.ms
2023-03-06 14:48:14 +01:00

23 lines
486 B
Text

# mach: crisv32
# ld: --section-start=.text=0
# requires: simoption --cris-900000xx
# 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