New files: Testcases for cr16 instruction set.
[binutils-gdb.git] / sim / testsuite / sim / cr16 / push3.cgs
1 # cr16 testcase for push RA insns.
2 # mach: cr16
3
4 .include "testutils.inc"
5
6 start
7 push1:
8 movd $0x1006, (sp)
9 movd $0xabcd, (ra)
10 push RA
11
12
13 loadd 0x1002, (r3,r2)
14 cmpd (r3,r2), (ra)
15 beq ok
16 br not_ok
17 not_ok:
18 fail
19 ok:
20 pass
21
22