Formatter Class

Definition

Line 6 of cmsxm/Instruction.cm

Inheritance

Constructors & Destructor

public nothrow Formatter()

Member Functions

public virtual String<char> FormatLongOffset(ulong address, byte x, byte y, byte z, bool forward)
public virtual String<char> FormatRegisterNumber(byte x)
public virtual String<char> FormatShortOffset(ulong address, byte y, byte z, bool forward)
public virtual String<char> FormatTrap(byte y)
public virtual String<char> FormatYZWyde(byte y, byte z)
public virtual String<char> GetLabel(ulong address)
public virtual String<char> GetTags(ulong address)
public ulong GetTargetAddress(byte y) const
public void SaveTargetAddress(byte opCode, byte x, byte y, byte z)

Member Variables

private int targetAddrReg
private ulong targetAddress

Constructor& Destructor Details

Formatter Constructor

public nothrow Formatter()

Definition
Line 8 of cmsxm/Instruction.cm


Member Function Details

FormatLongOffset Member Function

public virtual String<char> FormatLongOffset(ulong address, byte x, byte y, byte z, bool forward)

Definition
Line 50 of cmsxm/Instruction.cm


FormatRegisterNumber Member Function

public virtual String<char> FormatRegisterNumber(byte x)

Definition
Line 12 of cmsxm/Instruction.cm


FormatShortOffset Member Function

public virtual String<char> FormatShortOffset(ulong address, byte y, byte z, bool forward)

Definition
Line 28 of cmsxm/Instruction.cm


FormatTrap Member Function

public virtual String<char> FormatTrap(byte y)

Definition
Line 20 of cmsxm/Instruction.cm


FormatYZWyde Member Function

public virtual String<char> FormatYZWyde(byte y, byte z)

Definition
Line 72 of cmsxm/Instruction.cm


GetLabel Member Function

public virtual String<char> GetLabel(ulong address)

Definition
Line 16 of cmsxm/Instruction.cm


GetTags Member Function

public virtual String<char> GetTags(ulong address)

Definition
Line 24 of cmsxm/Instruction.cm


GetTargetAddress Member Function

public ulong GetTargetAddress(byte y)

Definition
Line 107 of cmsxm/Instruction.cm


SaveTargetAddress Member Function

public void SaveTargetAddress(byte opCode, byte x, byte y, byte z)

Definition
Line 76 of cmsxm/Instruction.cm