Instruction Class

Definition

Line 122 of cmsxm/Instruction.cm

Inheritance

Constructors & Destructor

public nothrow Instruction(byte opCode_)

Member Functions

public virtual void Execute(Registers& regs, Memory& mem, byte x, byte y, byte z)
public virtual String<char> Format(ulong address, byte x, byte y, byte z, Formatter& formatter)
public virtual String<char> FormatParams(ulong address, byte x, byte y, byte z, Formatter& formatter)
public virtual nothrow List<ulong> GetTargetAddresses(ulong pc, Registers& regs, Memory& mem, byte x, byte y, byte z)
public virtual nothrow bool IsAbsoluteAddressInst() const
public virtual nothrow bool IsForwardInst() const
public virtual nothrow bool IsGoInst() const
public virtual nothrow bool IsJumpInst() const
public virtual nothrow bool IsNegateInstruction() const
public virtual nothrow bool IsWydeImmediateInst() const
public virtual nothrow bool IsZReg() const

Member Variables

public byte opCode

Constructor& Destructor Details

Instruction Constructor

public nothrow Instruction(byte opCode_)

Definition
Line 124 of cmsxm/Instruction.cm


Member Function Details

Execute Member Function

public virtual void Execute(Registers& regs, Memory& mem, byte x, byte y, byte z)

Definition
Line 128 of cmsxm/Instruction.cm


Format Member Function

public virtual String<char> Format(ulong address, byte x, byte y, byte z, Formatter& formatter)

Definition
Line 167 of cmsxm/Instruction.cm


FormatParams Member Function

public virtual String<char> FormatParams(ulong address, byte x, byte y, byte z, Formatter& formatter)

Definition
Line 132 of cmsxm/Instruction.cm


GetTargetAddresses Member Function

public virtual nothrow List<ulong> GetTargetAddresses(ulong pc, Registers& regs, Memory& mem, byte x, byte y, byte z)

Definition
Line 231 of cmsxm/Instruction.cm


IsAbsoluteAddressInst Member Function

public virtual nothrow bool IsAbsoluteAddressInst()

Definition
Line 223 of cmsxm/Instruction.cm


IsForwardInst Member Function

public virtual nothrow bool IsForwardInst()

Definition
Line 211 of cmsxm/Instruction.cm


IsGoInst Member Function

public virtual nothrow bool IsGoInst()

Definition
Line 207 of cmsxm/Instruction.cm


IsJumpInst Member Function

public virtual nothrow bool IsJumpInst()

Definition
Line 203 of cmsxm/Instruction.cm


IsNegateInstruction Member Function

public virtual nothrow bool IsNegateInstruction()

Definition
Line 227 of cmsxm/Instruction.cm


IsWydeImmediateInst Member Function

public virtual nothrow bool IsWydeImmediateInst()

Definition
Line 219 of cmsxm/Instruction.cm


IsZReg Member Function

public virtual nothrow bool IsZReg()

Definition
Line 215 of cmsxm/Instruction.cm