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

18 lines
213 B
Text

# mach: m32r m32rx
# xerror:
# output: *misaligned read*
.include "testutils.inc"
start
; construct bra trap2_handler in trap 2 slot
ld24 r0,#foo+1
ld r0,@r0
fail
exit 0
.data
.p2align 2
foo:
.word 42