C# Class Mosa.Platform.x86.X86Instruction

Inheritance: Mosa.Compiler.Framework.Platform.BasePlatformInstruction
Show file Open project: tgiphil/MOSA-Project

Public Methods

Method Description
Emit ( InstructionNode node, BaseCodeEmitter emitter ) : void

Emits the specified platform instruction.

Protected Methods

Method Description
ComputeOpCode ( Operand destination, Operand source, Operand third ) : Mosa.Platform.x86.OpCode

Computes the opcode.

Emit ( InstructionNode node, MachineCodeEmitter emitter ) : void

Emits the specified platform instruction.

X86Instruction ( byte resultCount, byte operandCount ) : Mosa.Compiler.Framework

Initializes a new instance of the X86Instruction class.

Method Details

ComputeOpCode() protected method

Computes the opcode.
protected ComputeOpCode ( Operand destination, Operand source, Operand third ) : Mosa.Platform.x86.OpCode
destination Mosa.Compiler.Framework.Operand The destination operand.
source Mosa.Compiler.Framework.Operand The source operand.
third Mosa.Compiler.Framework.Operand The third operand.
return Mosa.Platform.x86.OpCode

Emit() public method

Emits the specified platform instruction.
public Emit ( InstructionNode node, BaseCodeEmitter emitter ) : void
node Mosa.Compiler.Framework.InstructionNode The node.
emitter Mosa.Compiler.Framework.BaseCodeEmitter The emitter.
return void

Emit() protected method

Emits the specified platform instruction.
protected Emit ( InstructionNode node, MachineCodeEmitter emitter ) : void
node Mosa.Compiler.Framework.InstructionNode The node.
emitter MachineCodeEmitter The emitter.
return void

X86Instruction() protected method

Initializes a new instance of the X86Instruction class.
protected X86Instruction ( byte resultCount, byte operandCount ) : Mosa.Compiler.Framework
resultCount byte The result count.
operandCount byte The operand count.
return Mosa.Compiler.Framework