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

10 lines
132 B
Text

# mach(): cr16
.include "testutils.inc"
start
# perform trap
movw $0,r2
movw $0x410,r0
pass # the pass macro use the trap 8