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

18 lines
202 B
Plaintext

# cr16 testcase for movw reg, regp
# mach(): cr16
.include "testutils.inc"
start
.global movw
movw:
movw $0x1234, r4
movd $0, (r6,r5)
movxw r4, (r6,r5)
test_h_grp "(r6, r5)", 0x1234
pass