Projet_SETI_RISC-V/riscv-gnu-toolchain/binutils/sim/testsuite/m32r/addi.cgs

17 lines
168 B
Text
Raw Normal View History

2023-03-06 14:48:14 +01:00
# m32r testcase for addi $dr,#$simm8
# mach(): m32r m32rx
.include "testutils.inc"
start
.global addi
addi:
mvi_h_gr r5, 1
addi r5, 2
test_h_gr r5, 3
pass