1 #source: gregget1.s 2 #source: greg-5.s 3 #source: greg-5.s 4 #source: greg-5.s 5 #source: greg-5.s 6 #source: greg-5.s 7 #source: greg-5.s 8 #source: greg-5.s 9 #source: greg-5.s 10 #source: greg-5.s 11 #source: greg-5.s 12 #source: greg-5.s 13 #source: greg-5.s 14 #source: greg-5.s 15 #source: greg-4.s 16 #source: greg-4.s 17 #source: greg-4.s 18 #source: greg-4.s 19 #source: greg-4.s 20 #source: greg-4.s 21 #source: greg-4.s 22 #source: greg-4.s 23 #source: greg-4.s 24 #source: greg-4.s 25 #source: greg-4.s 26 #source: greg-4.s 27 #source: greg-4.s 28 #source: greg-4.s 29 #source: greg-1.s 30 #source: a.s 31 #source: start.s 32 #as: -x 33 #ld: -m mmo 34 #objdump: -dt 35 36 # Allocating the maximum number of gregs and referring to one at the end 37 # still works, mmo. 38 39 .*: file format mmo 40 41 SYMBOL TABLE: 42 0+14 g \.text Main 43 0+14 g \.text _start 44 0+fe g \*REG\* areg 45 0+10 g \.text a 46 47 Disassembly of section \.text: 48 49 0+ <a-0x10>: 50 0: e3fe0010 setl areg,0x10 51 4: e6fe0000 incml areg,0x0 52 8: e5fe0000 incmh areg,0x0 53 c: e4fe0000 inch areg,0x0 54 55 0+10 <a>: 56 10: e3fd0004 setl \$253,0x4 57 58 0+14 <(Main|_start)>: 59 14: e3fd0001 setl \$253,0x1 60