Last modified 2000/12/05 15:17:44
Each line in an object module file contains word-sized hexadecimal values separated by spaces. For all but the last line, the first value is the starting address in memory where the contents of this line are to be stored. The second value indicates how many more values are on the line. The third and subsequent values are to be placed into consecutive memory locations. The last line contains a single value which is the starting address of the program.
Here is an example:
Input:
7 8 2 3 4c 5 d6a 7 10 11
ff 1 100
7
Memory contents:
mem[7]=2 |
mem[8]=3 |
mem[9]=4c |
|
mem[a]=5 |
mem[b]=d6a |
mem[c]=7 |
|
mem[d]=10 |
mem[e]=11 |
mem[ff]=100 |