RetroLinker
Linker for several 8-bit, 16-bit and 32-bit formats
Loading...
Searching...
No Matches
Classes | Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
OMF::OMF86Format::RegisterInitializationRecord::Register Class Reference

A single initialization entry. More...

#include <omf.h>

Classes

class  InitialValue
 Used to initialize the register. More...
 

Public Types

enum  register_t { CS_IP , SS_SP , DS , ES }
 Register type that can be initialized. More...
 

Public Member Functions

uint16_t GetRegisterSize (OMF86Format *omf) const
 
void WriteRegister (OMF86Format *omf, ChecksumWriter &wr) const
 
void CalculateValues (OMF86Format *omf, Module *mod)
 
void ResolveReferences (OMF86Format *omf, Module *mod)
 

Static Public Member Functions

static Register ReadRegister (OMF86Format *omf, Linker::Reader &rd)
 

Public Attributes

register_t reg_id
 The register to initialize.
 
std::variant< Reference, InitialValuevalue = Reference()
 The initial value of the register.
 

Detailed Description

A single initialization entry.

Member Enumeration Documentation

◆ register_t

Register type that can be initialized.

Enumerator
CS_IP 

The CS and IP register pair, it signifies the starting address as a far pointer.

SS_SP 

The SS and SP register pair, it signifies the initial stack as a far pointer.

DS 

The DS segment register, the default data segment.

ES 

The ES segment register.


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