| 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 mmo |
| 10 |
#objdump: -dt |
| 11 |
|
| 12 |
# Have two used gregs and one unused, mmo. |
| 13 |
|
| 14 |
.*: file format mmo |
| 15 |
|
| 16 |
SYMBOL TABLE: |
| 17 |
0+20 g \.text Main |
| 18 |
0+fe g \*REG\* b |
| 19 |
0+20 g \.text _start |
| 20 |
0+fc g \*REG\* areg |
| 21 |
0+fd g \*REG\* c |
| 22 |
0+1c g \.text a |
| 23 |
|
| 24 |
Disassembly of section \.text: |
| 25 |
|
| 26 |
0+ <a-0x1c>: |
| 27 |
0: 8c0c20fc ldo \$12,\$32,areg |
| 28 |
4: 8d7bfc22 ldo \$123,areg,34 |
| 29 |
8: 8dfcea38 ldo areg,\$234,56 |
| 30 |
c: e3fe001c setl b,0x1c |
| 31 |
10: e6fe0000 incml b,0x0 |
| 32 |
14: e5fe0000 incmh b,0x0 |
| 33 |
18: e4fe0000 inch b,0x0 |
| 34 |
|
| 35 |
0+1c <a>: |
| 36 |
1c: e3fd0004 setl c,0x4 |
| 37 |
|
| 38 |
0+20 <(Main|_start)>: |
| 39 |
20: e3fd0001 setl c,0x1 |