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

15 lines
240 B
Text

# cr16 testcase for macsw reg, (regp)
# mach(): cr16
.include "testutils.inc"
start
.global macsw # REVISIT to update this testcase
macsw:
movw $0x123,r3
movw $0x456,r4
macsw r3,r4, (r6,r5)
test_h_grp "(r6,r5)", 0x4edc2
pass