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

17 lines
170 B
Plaintext

# cr16 testcase for movw $imm16, reg
# mach(): cr16
.include "testutils.inc"
start
.global movw
movw:
movw $0x1234, r4
movw r4, r5
test_h_gr r5, 0x1234
pass