Commit | Line | Data |
---|---|---|
252b5132 RH |
1 | MVP MP Macro Assembler Version 1.13 Sat Feb 22 13:19:28 1997 |
2 | Copyright (c) 1993-1995 Texas Instruments Incorporated | |
3 | ||
4 | relocs1.s PAGE 1 | |
5 | ||
6 | 1 ;; This is the hand hacked output of the TI C compiler for a simple | |
7 | 2 ;; test program that contains local/global functions, local/global | |
8 | 3 ;; function calls, and an "if" and "for" statement. | |
9 | 4 | |
10 | 5 .global _xfunc | |
11 | 6 | |
12 | 7 00000000 _sfunc: | |
13 | 8 00000000 086CFFF0 addu -16,r1,r1 | |
14 | 9 00000004 F859000C st 12(r1),r31 | |
15 | 10 00000008 10590000 st 0(r1),r2 | |
16 | 11 0000000C F8389000 jsr _xfunc(r0),r31 | |
17 | 00000010 00000000 | |
18 | 12 00000014 10510000 ld 0(r1),r2 | |
19 | 13 00000018 F851000C ld 12(r1),r31 | |
20 | 14 0000001C 0038801F jsr r31(r0),r0 | |
21 | 15 00000020 086C8010 addu 16,r1,r1 | |
22 | 16 | |
23 | 17 .global _gfunc | |
24 | 18 | |
25 | 19 00000024 _gfunc: | |
26 | 20 00000024 086CFFF0 addu -16,r1,r1 | |
27 | 21 00000028 F859000C st 12(r1),r31 | |
28 | 22 0000002C 10590000 st 0(r1),r2 | |
29 | 23 00000030 F8389000 jsr _sfunc(r0),r31 | |
30 | 00000034 00000000 | |
31 | 24 00000038 10510000 ld 0(r1),r2 | |
32 | 25 0000003C F851000C ld 12(r1),r31 | |
33 | 26 00000040 0038801F jsr r31(r0),r0 | |
34 | 27 00000044 086C8010 addu 16,r1,r1 | |
35 | 28 | |
36 | 29 | |
37 | 30 .global _branches | |
38 | 31 | |
39 | 32 00000048 _branches: | |
40 | 33 00000048 086CFFF0 addu -16,r1,r1 | |
41 | 34 0000004C F859000C st 12(r1),r31 | |
42 | 35 00000050 10590000 st 0(r1),r2 | |
43 | 36 00000054 10510000 ld 0(r1),r2 | |
44 | 37 00000058 10590004 st 4(r1),r2 | |
45 | 38 0000005C 10510000 ld 0(r1),r2 | |
46 | 39 00000060 18510004 ld 4(r1),r3 | |
47 | 40 00000064 10AC800A addu 10,r2,r2 | |
48 | 41 00000068 10BA0003 cmp r3,r2,r2 | |
49 | 42 0000006C 30A58012 bbo.a L12,r2,ge.w | |
50 | 43 00000070 L8: | |
51 | 44 00000070 10510004 ld 4(r1),r2 | |
52 | 45 00000074 F8A48005 bbz.a L10,r2,0 | |
53 | 46 00000078 F8389000 jsr _gfunc(r0),r31 | |
54 | 0000007C 00000024 | |
55 | 47 00000080 10510004 ld 4(r1),r2 | |
56 | 48 00000084 00248004 br.a L11 | |
57 | 49 00000088 L10: | |
58 | 50 00000088 F8389000 jsr _xfunc(r0),r31 | |
59 | 0000008C 00000000 | |
60 | 51 00000090 10510004 ld 4(r1),r2 | |
61 | \fMVP MP Macro Assembler Version 1.13 Sat Feb 22 13:19:28 1997 | |
62 | Copyright (c) 1993-1995 Texas Instruments Incorporated | |
63 | ||
64 | relocs1.s PAGE 2 | |
65 | ||
66 | 52 00000094 L11: | |
67 | 53 00000094 10510004 ld 4(r1),r2 | |
68 | 54 00000098 10AC8001 addu 1,r2,r2 | |
69 | 55 0000009C 10590004 st 4(r1),r2 | |
70 | 56 000000A0 18510000 ld 0(r1),r3 | |
71 | 57 000000A4 10510004 ld 4(r1),r2 | |
72 | 58 000000A8 18EC800A addu 10,r3,r3 | |
73 | 59 000000AC 10FA0002 cmp r2,r3,r2 | |
74 | 60 000000B0 38A5FFF0 bbo.a L8,r2,lt.w | |
75 | 61 000000B4 L12: | |
76 | 62 000000B4 F851000C ld 12(r1),r31 | |
77 | 63 000000B8 0038801F jsr r31(r0),r0 | |
78 | 64 000000BC 086C8010 addu 16,r1,r1 | |
79 | ||
80 | No Errors, No Warnings |