* 1.Header: * Magic Tag.3b + Format of executable.1b * Flags.l * Size of executable.l * Offset to Relocation Pass2.l * Offset to Export Table.l * Offset to Symbol Table.l * 2.Relocation Pass 1: * CompressedRelocationTable of CodeOrg in CODE section. * CompressedRelocationTable of WriteIndirectOrg in CODE section. * System Import Table in CODE section: * SystemCallsTableSize.w * {index.w; CompressedRelocationTable}[] of System Calls: * 0x0xxx: LONG ROMCALL 0x1xxx: DLONG RAMCALLS 0x2xxx: WORD RAMCALLS 0x3xxx: LONG PedroM Call * 3.Relocation Pass 2: * Size of WRITE section.l * Library Import Table: * LibraryImportTableSize.w * {name.8b; version.w; Size.w; index.w[]}[] * Data Section: * DataSectionSize.l * Data.b[] * CompressedRelocationTable of CodeOrg in WRITE Section. * CompressedRelocationTable of WriteOrg in WRITE Section. * 4.Export Table * {size.w; offset.l[] } * 5.Sorted Symbol Table * {size.w; {name.8b; offset.l}[]}
Commentaires, explications => Post.