test.outfile: file format elf32-sparc Disassembly of section .text: 00000100 : ASM_STARTUP(): 100: 82 10 20 02 mov 2, %g1 104: 84 10 20 03 mov 3, %g2 108: 86 10 20 04 mov 4, %g3 10c: 88 10 20 05 mov 5, %g4 110: 8a 10 20 06 mov 6, %g5 114: 01 00 00 00 nop 118: 01 00 00 00 nop 11c: 01 00 00 00 nop 120: 01 00 00 00 nop 124: 8e 10 00 01 mov %g1, %g7 128: 8e 10 00 02 mov %g2, %g7 12c: 8e 10 00 03 mov %g3, %g7 130: 8e 10 00 04 mov %g4, %g7 134: 8e 10 00 05 mov %g5, %g7 138: 01 00 00 00 nop 13c: 01 00 00 00 nop 140: 01 00 00 00 nop 144: 84 10 21 50 mov 0x150, %g2 ! 150
148: 10 80 00 02 b 150
14c: 01 00 00 00 nop 00000150
: main(): 150: 9d e3 bf 90 save %sp, -112, %sp 154: c0 27 bf f4 clr [ %fp + -12 ] 158: c0 27 bf f4 clr [ %fp + -12 ] 15c: c2 07 bf f4 ld [ %fp + -12 ], %g1 160: 80 a0 63 e7 cmp %g1, 0x3e7 164: 14 80 00 07 bg 180 168: 01 00 00 00 nop 16c: c2 07 bf f4 ld [ %fp + -12 ], %g1 170: 82 00 60 01 inc %g1 174: c2 27 bf f4 st %g1, [ %fp + -12 ] 178: 10 bf ff f9 b 15c 17c: 01 00 00 00 nop 180: 82 10 20 01 mov 1, %g1 ! 1 184: b0 10 00 01 mov %g1, %i0 188: 81 c7 e0 08 ret 18c: 81 e8 00 00 restore