Next, substituting according to table 6, we rewrite the table above as below.
Addition Table for Program
label address data comment addtable 0000001000000000 0000000000000000 0 + 0 = 00 0000001000000001 0000000000000001 0 + 1 = 01 0000001000000010 0000000000000010 0 + 2 = 02 0000001000000011 0000000000000011 0 + 3 = 03 0000001000000100 0000000000000100 0 + 4 = 04 0000001000000101 0000000000000101 0 + 5 = 05 0000001000000110 0000000000000110 0 + 6 = 06 0000001000000111 0000000000000111 0 + 7 = 07 0000001000001000 0000000000001000 0 + 8 = 08 0000001000001001 0000000000001001 0 + 9 = 09 0000001000010000 0000000000000001 1 + 0 = 01 0000001000010001 0000000000000010 1 + 1 = 02 . . . 0000001010001001 0000000000010111 8 + 9 = 17 0000001010010000 0000000000001001 9 + 0 = 09 0000001010010001 0000000000010000 9 + 1 = 10 0000001010010010 0000000000010001 9 + 2 = 11 0000001010010011 0000000000010010 9 + 3 = 12 0000001010010100 0000000000010011 9 + 4 = 13 0000001010010101 0000000000010100 9 + 5 = 14 0000001010010110 0000000000010101 9 + 6 = 15 0000001010010111 0000000000010110 9 + 7 = 16 0000001010011000 0000000000010111 9 + 8 = 17 0000001010011001 0000000000011000 9 + 9 = 18Of course, in the actual program's table, all one hundred table elements must be included.
The table begins at 0000001000000000. It can begin anywhere in memory, just so table data doesn't overlap other data.
Page 30
Page 29 . . . Page 1 . . . Page 31