|
RetroLinker
Linker for several 8-bit, 16-bit and 32-bit formats
|
Represents a relocation entry in the header, as a pair of 16-bit words. More...
#include <mzexe.h>
Public Member Functions | |
| Relocation (uint16_t segment, uint16_t offset) | |
| uint32_t | GetOffset () const |
| bool | operator== (const Relocation &other) const |
| bool | operator< (const Relocation &other) const |
Static Public Member Functions | |
| static Relocation | FromLinear (uint32_t address) |
Public Attributes | |
| uint16_t | segment |
| Segment of relocation. | |
| uint16_t | offset |
| Offset of relocation within segment. | |
Represents a relocation entry in the header, as a pair of 16-bit words.
Since only the linear offset of the relocation is actually imporant, the same relocation can be represented as various different pairs