Register Abstract Class

Definition

Line 6 of cmsxi/Register.cm

Inheritance

Constructors & Destructor

public nothrow Register(const String<char>& name_)

Member Functions

public override void DebugPrint(CodeFormatter& formatter)
public override void GenerateLoad(int loadOpCode, Register* destinationReg, MachineCode& machineCode, Instruction* inst)
public override void GenerateLoadAddress(Register* destinationReg, MachineCode& machineCode, Instruction* inst)
public override void GenerateStore(int storeOpCode, Register* valueReg, MachineCode& machineCode, Instruction* inst)
public override nothrow void Print(CodeFormatter& formatter)

Member Variables

public String<char> name

Constructor& Destructor Details

Register Constructor

public nothrow Register(const String<char>& name_)

Definition
Line 8 of cmsxi/Register.cm


Member Function Details

DebugPrint Member Function

public override void DebugPrint(CodeFormatter& formatter)

Definition
Line 11 of cmsxi/Register.cm


GenerateLoad Member Function

public override void GenerateLoad(int loadOpCode, Register* destinationReg, MachineCode& machineCode, Instruction* inst)

Definition
Line 19 of cmsxi/Register.cm


GenerateLoadAddress Member Function

public override void GenerateLoadAddress(Register* destinationReg, MachineCode& machineCode, Instruction* inst)

Definition
Line 26 of cmsxi/Register.cm


GenerateStore Member Function

public override void GenerateStore(int storeOpCode, Register* valueReg, MachineCode& machineCode, Instruction* inst)

Definition
Line 32 of cmsxi/Register.cm


Print Member Function

public override nothrow void Print(CodeFormatter& formatter)

Definition
Line 15 of cmsxi/Register.cm