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

19 lines
224 B
Plaintext
Raw Normal View History

# cr16 testcase for subd $sr,$dr
# mach(): cr16
.include "testutils.inc"
start
.global subd
subd:
movd $0x12345678, (r4,r3)
movd $0x11111111, (r6,r5)
subd (r6,r5), (r4,r3)
test_h_grp "(r4,r3)", 0x1234567
pass