Commit | Line | Data |
---|---|---|
dc40b391 FF |
1 | MVP MP Macro Assembler Version 1.13 Sun Feb 23 12:16:32 1997 |
2 | Copyright (c) 1993-1995 Texas Instruments Incorporated | |
3 | ||
4 | relocs2.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 static, global, and extern data variables. | |
8 | 3 | |
9 | 4 .file "relocs2.s" | |
10 | 5 .global _x_char | |
11 | 6 .global _x_short | |
12 | 7 .global _x_long | |
13 | 8 .global _x_float | |
14 | 9 .global _x_double | |
15 | 10 .global _x_char_p | |
16 | 11 .global _g_char | |
17 | 12 .global _g_short | |
18 | 13 .global _g_int | |
19 | 14 .global _g_long | |
20 | 15 .global _g_float | |
21 | 16 .global _g_double | |
22 | 17 .global _g_char_p | |
23 | 18 .global _main | |
24 | 19 | |
25 | 20 00000000 _main: | |
26 | 21 00000000 10341000 ld.b _s_char+0(r0),r2 | |
27 | 00000004 0000001C | |
28 | 22 00000008 10361000 st.b _x_char+0(r0),r2 | |
29 | 0000000C 00000000 | |
30 | 23 00000010 10341000 ld.b _x_char+0(r0),r2 | |
31 | 00000014 00000000 | |
32 | 24 00000018 10361000 st.b _g_char+0(r0),r2 | |
33 | 0000001C 00000014 | |
34 | 25 00000020 10343000 ld.h _s_short+0(r0),r2 | |
35 | 00000024 0000003C | |
36 | 26 00000028 10363000 st.h _x_short+0(r0),r2 | |
37 | 0000002C 00000000 | |
38 | 27 00000030 10343000 ld.h _x_short+0(r0),r2 | |
39 | 00000034 00000000 | |
40 | 28 00000038 10363000 st.h _g_short+0(r0),r2 | |
41 | 0000003C 00000034 | |
42 | 29 00000040 10345000 ld _s_int+0(r0),r2 | |
43 | 00000044 00000020 | |
44 | 30 00000048 10365000 st _x_int+0(r0),r2 | |
45 | 0000004C 00000040 | |
46 | 31 00000050 10345000 ld _x_int+0(r0),r2 | |
47 | 00000054 00000040 | |
48 | 32 00000058 10365000 st _g_int+0(r0),r2 | |
49 | 0000005C 00000018 | |
50 | 33 00000060 10345000 ld _s_long+0(r0),r2 | |
51 | 00000064 00000010 | |
52 | 34 00000068 10365000 st _x_long+0(r0),r2 | |
53 | 0000006C 00000000 | |
54 | 35 00000070 10345000 ld _x_long+0(r0),r2 | |
55 | 00000074 00000000 | |
56 | 36 00000078 10365000 st _g_long+0(r0),r2 | |
57 | 0000007C 00000004 | |
58 | 37 00000080 10345000 ld _s_float+0(r0),r2 | |
59 | 00000084 00000030 | |
60 | 38 00000088 10365000 st _x_float+0(r0),r2 | |
61 | \fMVP MP Macro Assembler Version 1.13 Sun Feb 23 12:16:32 1997 | |
62 | Copyright (c) 1993-1995 Texas Instruments Incorporated | |
63 | ||
64 | relocs2.s PAGE 2 | |
65 | ||
66 | 0000008C 00000000 | |
67 | 39 00000090 10345000 ld _x_float+0(r0),r2 | |
68 | 00000094 00000000 | |
69 | 40 00000098 10365000 st _g_float+0(r0),r2 | |
70 | 0000009C 00000038 | |
71 | 41 000000A0 10347000 ld.d _s_double+0(r0),r2 | |
72 | 000000A4 00000008 | |
73 | 42 000000A8 10367000 st.d _x_double+0(r0),r2 | |
74 | 000000AC 00000000 | |
75 | 43 000000B0 10347000 ld.d _x_double+0(r0),r2 | |
76 | 000000B4 00000000 | |
77 | 44 000000B8 10367000 st.d _g_double+0(r0),r2 | |
78 | 000000BC 00000028 | |
79 | 45 000000C0 10345000 ld _s_char_p+0(r0),r2 | |
80 | 000000C4 00000044 | |
81 | 46 000000C8 10365000 st _x_char_p+0(r0),r2 | |
82 | 000000CC 00000000 | |
83 | 47 000000D0 10345000 ld _x_char_p+0(r0),r2 | |
84 | 000000D4 00000000 | |
85 | 48 000000D8 10365000 st _g_char_p+0(r0),r2 | |
86 | 000000DC 00000000 | |
87 | 49 000000E0 0038A01F jsr.a r31(r0),r0 | |
88 | 50 | |
89 | 51 .global _g_char_p | |
90 | 52 00000000 .bss _g_char_p,4,4 | |
91 | 53 .global _g_long | |
92 | 54 00000004 .bss _g_long,4,4 | |
93 | 55 00000008 .bss _s_double,8,8 | |
94 | 56 00000010 .bss _s_long,4,4 | |
95 | 57 .global _g_char | |
96 | 58 00000014 .bss _g_char,1,4 | |
97 | 59 .global _g_int | |
98 | 60 00000018 .bss _g_int,4,4 | |
99 | 61 0000001C .bss _s_char,1,4 | |
100 | 62 00000020 .bss _s_int,4,4 | |
101 | 63 .global _g_double | |
102 | 64 00000028 .bss _g_double,8,8 | |
103 | 65 00000030 .bss _s_float,4,4 | |
104 | 66 .global _g_short | |
105 | 67 00000034 .bss _g_short,2,4 | |
106 | 68 .global _g_float | |
107 | 69 00000038 .bss _g_float,4,4 | |
108 | 70 0000003C .bss _s_short,2,4 | |
109 | 71 00000040 .bss _x_int,4,4 | |
110 | 72 00000044 .bss _s_char_p,4,4 | |
111 | ||
112 | No Errors, No Warnings |