binutils-gdb/sim/testsuite/cr16/macsw.cgs

16 lines
240 B
Plaintext
Raw Normal View History

# 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