RetroLinker
Linker for several 8-bit, 16-bit and 32-bit formats
Loading...
Searching...
No Matches
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
Microsoft::MZFormat::Relocation Struct Reference

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.
 

Detailed Description

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


The documentation for this struct was generated from the following files: