| MVP MP Macro Assembler Version 1.13 Sun Feb 23 12:16:32 1997 |
| Copyright (c) 1993-1995 Texas Instruments Incorporated |
| |
| relocs2.s PAGE 1 |
| |
| 1 ;; This is the hand hacked output of the TI C compiler for a simple |
| 2 ;; test program that contains static, global, and extern data variables. |
| 3 |
| 4 .file "relocs2.s" |
| 5 .global _x_char |
| 6 .global _x_short |
| 7 .global _x_long |
| 8 .global _x_float |
| 9 .global _x_double |
| 10 .global _x_char_p |
| 11 .global _g_char |
| 12 .global _g_short |
| 13 .global _g_int |
| 14 .global _g_long |
| 15 .global _g_float |
| 16 .global _g_double |
| 17 .global _g_char_p |
| 18 .global _main |
| 19 |
| 20 00000000 _main: |
| 21 00000000 10341000 ld.b _s_char+0(r0),r2 |
| 00000004 0000001C |
| 22 00000008 10361000 st.b _x_char+0(r0),r2 |
| 0000000C 00000000 |
| 23 00000010 10341000 ld.b _x_char+0(r0),r2 |
| 00000014 00000000 |
| 24 00000018 10361000 st.b _g_char+0(r0),r2 |
| 0000001C 00000014 |
| 25 00000020 10343000 ld.h _s_short+0(r0),r2 |
| 00000024 0000003C |
| 26 00000028 10363000 st.h _x_short+0(r0),r2 |
| 0000002C 00000000 |
| 27 00000030 10343000 ld.h _x_short+0(r0),r2 |
| 00000034 00000000 |
| 28 00000038 10363000 st.h _g_short+0(r0),r2 |
| 0000003C 00000034 |
| 29 00000040 10345000 ld _s_int+0(r0),r2 |
| 00000044 00000020 |
| 30 00000048 10365000 st _x_int+0(r0),r2 |
| 0000004C 00000040 |
| 31 00000050 10345000 ld _x_int+0(r0),r2 |
| 00000054 00000040 |
| 32 00000058 10365000 st _g_int+0(r0),r2 |
| 0000005C 00000018 |
| 33 00000060 10345000 ld _s_long+0(r0),r2 |
| 00000064 00000010 |
| 34 00000068 10365000 st _x_long+0(r0),r2 |
| 0000006C 00000000 |
| 35 00000070 10345000 ld _x_long+0(r0),r2 |
| 00000074 00000000 |
| 36 00000078 10365000 st _g_long+0(r0),r2 |
| 0000007C 00000004 |
| 37 00000080 10345000 ld _s_float+0(r0),r2 |
| 00000084 00000030 |
| 38 00000088 10365000 st _x_float+0(r0),r2 |
| MVP MP Macro Assembler Version 1.13 Sun Feb 23 12:16:32 1997 |
| Copyright (c) 1993-1995 Texas Instruments Incorporated |
| |
| relocs2.s PAGE 2 |
| |
| 0000008C 00000000 |
| 39 00000090 10345000 ld _x_float+0(r0),r2 |
| 00000094 00000000 |
| 40 00000098 10365000 st _g_float+0(r0),r2 |
| 0000009C 00000038 |
| 41 000000A0 10347000 ld.d _s_double+0(r0),r2 |
| 000000A4 00000008 |
| 42 000000A8 10367000 st.d _x_double+0(r0),r2 |
| 000000AC 00000000 |
| 43 000000B0 10347000 ld.d _x_double+0(r0),r2 |
| 000000B4 00000000 |
| 44 000000B8 10367000 st.d _g_double+0(r0),r2 |
| 000000BC 00000028 |
| 45 000000C0 10345000 ld _s_char_p+0(r0),r2 |
| 000000C4 00000044 |
| 46 000000C8 10365000 st _x_char_p+0(r0),r2 |
| 000000CC 00000000 |
| 47 000000D0 10345000 ld _x_char_p+0(r0),r2 |
| 000000D4 00000000 |
| 48 000000D8 10365000 st _g_char_p+0(r0),r2 |
| 000000DC 00000000 |
| 49 000000E0 0038A01F jsr.a r31(r0),r0 |
| 50 |
| 51 .global _g_char_p |
| 52 00000000 .bss _g_char_p,4,4 |
| 53 .global _g_long |
| 54 00000004 .bss _g_long,4,4 |
| 55 00000008 .bss _s_double,8,8 |
| 56 00000010 .bss _s_long,4,4 |
| 57 .global _g_char |
| 58 00000014 .bss _g_char,1,4 |
| 59 .global _g_int |
| 60 00000018 .bss _g_int,4,4 |
| 61 0000001C .bss _s_char,1,4 |
| 62 00000020 .bss _s_int,4,4 |
| 63 .global _g_double |
| 64 00000028 .bss _g_double,8,8 |
| 65 00000030 .bss _s_float,4,4 |
| 66 .global _g_short |
| 67 00000034 .bss _g_short,2,4 |
| 68 .global _g_float |
| 69 00000038 .bss _g_float,4,4 |
| 70 0000003C .bss _s_short,2,4 |
| 71 00000040 .bss _x_int,4,4 |
| 72 00000044 .bss _s_char_p,4,4 |
| |
| No Errors, No Warnings |