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

18 lines
198 B
Text

# cr16 testcase for jmp (regp)
# mach(): cr16
.include "testutils.inc"
start
.global jmp
jmp:
movd $ok1, (r4,r3)
jump (r4,r3)
fail
ok1:
movd $ok2, (r4,r3)
jump (r4,r3)
fail
ok2:
pass