1 # cr16 testcase for push RA insns. 2 # mach: cr16 3 4 .include "testutils.inc" 5 6 start 7 8 .global push1 9 push1: 10 movd $0x1006, (sp) 11 movd $0xabcd, (ra) 12 push RA 13 14 15 loadd 0x1002, (r3,r2) 16 cmpd (r3,r2), (ra) 17 beq ok 18 br not_ok 19 not_ok: 20 fail 21 ok: 22 pass 23 24 25