New port: National Semiconductor's CR16
[binutils.git] / gas / testsuite / gas / cr16 / push_test.s
blob804419cc548c8e84b4fccb69150db84360eb6e5d
1 .text
2 .global main
3 main:
4 ####################
5 # push uimm3 regr RA
6 ####################
7 push $1,r7,RA
8 push $2,r6,RA
9 push $3,r5,RA
10 push $4,r4,RA
11 push $5,r3,RA
12 push $6,r2,RA
13 push $7,r1,RA
14 #push $6,r12,RA
15 #push $7,r13,RA
16 #push $7,r12,RA
17 #push $8,r12,RA
18 #################
19 # push uimm3 regr
20 #################
21 push $1,r7
22 push $2,r6
23 push $3,r5
24 push $4,r4
25 push $5,r3
26 push $6,r2
27 push $7,r1
28 push $6,r12
29 #push $7,r13
30 #push $7,r12
31 #push $8,r12
32 #push $6,r13
33 ##########
34 # push RA
35 ##########
36 #push r1
37 #push r4
38 #push r9
39 push ra
40 push RA