| 1 |
#source: greg-1.s |
| 2 |
#source: gregldo1.s |
| 3 |
#source: gregget2.s |
| 4 |
#source: a.s |
| 5 |
#source: greg-3.s |
| 6 |
#source: start.s |
| 7 |
#source: greg-2.s |
| 8 |
#as: -x |
| 9 |
#ld: -m elf64mmix |
| 10 |
#objdump: -dt |
| 11 |
|
| 12 |
# Have two used gregs and one unused. |
| 13 |
|
| 14 |
.*: file format elf64-mmix |
| 15 |
|
| 16 |
SYMBOL TABLE: |
| 17 |
0+ l d \.text 0+ (|\.text) |
| 18 |
2000000000000000 l d \.data 0+ (|\.data) |
| 19 |
2000000000000000 l d \.sbss 0+ (|\.sbss) |
| 20 |
2000000000000000 l d \.bss 0+ (|\.bss) |
| 21 |
0+7e0 l d \.MMIX\.reg_contents 0+ (|\.MMIX\.reg_contents) |
| 22 |
0+ l d \*ABS\* 0+ (|\.shstrtab) |
| 23 |
0+ l d \*ABS\* 0+ (|\.symtab) |
| 24 |
0+ l d \*ABS\* 0+ (|\.strtab) |
| 25 |
0+fe g \*REG\* 0+ b |
| 26 |
0+20 g \.text 0+ _start |
| 27 |
0+fc g \*REG\* 0+ areg |
| 28 |
0+fd g \*REG\* 0+ c |
| 29 |
#... |
| 30 |
0+1c g \.text 0+ a |
| 31 |
|
| 32 |
Disassembly of section \.text: |
| 33 |
|
| 34 |
0+ <a-0x1c>: |
| 35 |
0: 8c0c20fc ldo \$12,\$32,\$252 |
| 36 |
4: 8d7bfc22 ldo \$123,\$252,34 |
| 37 |
8: 8dfcea38 ldo \$252,\$234,56 |
| 38 |
c: e3fe001c setl \$254,0x1c |
| 39 |
10: e6fe0000 incml \$254,0x0 |
| 40 |
14: e5fe0000 incmh \$254,0x0 |
| 41 |
18: e4fe0000 inch \$254,0x0 |
| 42 |
|
| 43 |
0+1c <a>: |
| 44 |
1c: e3fd0004 setl \$253,0x4 |
| 45 |
|
| 46 |
0+20 <_start>: |
| 47 |
20: e3fd0001 setl \$253,0x1 |