
808~ Object Module Formats | Version 4.0 |
LINE NUMBERS RECORD (LINNUM)
***********************///***********************************
* |
| * |
| * |
| * |
| * |
| * | * |
* | REC | * | RECORD | * | LINE | * | LINE | * | LINE | * | CHK * |
* | TYP | * | LENGTH | * | NUMBER | * | NUMBER | * | NUMBER | * | SUM * |
* | 94H | * |
| * | BASE | * |
| * | OFFSET | * | * |
* |
| * |
| * |
| * |
| * |
| * | * |
***********************///***********************************
II
This record provides the means by which a translator may pass to a debugger proqram, the correspondence between a line number in source code and the correspondinq translated code.
Since several independent source modules, with independent line
numberinq, may be linked to form a sinqle module, a full identification of a source text line must include both its number, and also the name of the original containinq module. The latter identification is provided by the previous
LINE NU!\1BER SASE
The LINE NUMBER BASE has the following format:
*****///*********///*****************
* | GROUP | * | SEGMENT | * | FRAME | * |
* | * | * | * | |||
* | INDEX | * | INDEX | * | NUMBER | * |
* |
| * |
| * |
| * |
* |
| * |
| * |
| * |
*****///*********///*****************
I, +conditional+
The LINE NU~BER BA~~ has the same format and interpretation as the LOCAL SY~BOL BASE described for the LOCSYM record. The SEGMENT
INDEX and (if present) the FRAME NUMBER fields determine the location of the first byte of code correspondinq to some source line
number. This location may be physical (SEGMENT INDEX is 0) or logical (SEGMENT INDEX is
field, if
describing the final,
51