Projet_SETI_RISC-V/riscv-gnu-toolchain/binutils/sim/testsuite/cr16/addd.cgs

17 lines
202 B
Text
Raw Normal View History

2023-03-06 14:48:14 +01:00
# cr16 testcase for addd $sr, regp
# mach(): cr16
.include "testutils.inc"
start
.global addd
addd:
movd $0x12345678,(r4,r3)
addd $0x44444444,(r4,r3)
test_h_grp "(r4,r3)", 0x56789abc
pass