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

16 lines
179 B
Text

# cr16 testcase for addb $sr, reg
# mach(): cr16
.include "testutils.inc"
start
.global add
add:
movb $0x1234,r4
movb $0x1234,r5
addb r4, r5
test_h_gr r5, 0x68
pass