Mapping object module END-entry items

OBJ END records can request an entry point either by name or by ESDID and offset; these two forms are provided by the GOFF format.

Table 1. Mapping OBJ END–entry items to GOFF format
OBJ Item GOFF Element
END (no entry point request) Set the Flags bits to B'00', and the rest to zero. (In other words, nothing to do.)
END with entry point ED and offset
  • Set the Flags bits to B'01', and the rest to zero.
  • Set the ESDID field to the EDID of the element in which the desired entry point is located.
  • Set the Offset to the entry point offset within the designated element.
END with entry point name
  • Set the Flags bits to B'10'.
  • Set the 2-byte Name Length to the name of the requested entry point. Note that this name should already have appeared on an LD item (for an internal entry point) or an ER item (for an external entry point) in this object module.