data/method/gdb/gdb-13.2/sim/testsuite/cr16/macsw.cgs

16 lines
240 B
Plaintext

# 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