C# Class Mosa.Platform.x86.Instructions.Cmp

Representations the x86 cmp instruction.
Inheritance: Mosa.Platform.x86.Instructions.TwoOperandNoResultInstruction
Show file Open project: tgiphil/MOSA-Project

Public Methods

Method Description
Cmp ( ) : System

Initializes a new instance of Cmp.

Protected Methods

Method Description
ComputeOpCode ( Operand destination, Operand source, Operand third ) : OpCode

Computes the opcode.

Emit ( InstructionNode node, MachineCodeEmitter emitter ) : void

Emits the specified platform instruction.

Method Details

Cmp() public method

Initializes a new instance of Cmp.
public Cmp ( ) : System
return System

ComputeOpCode() protected method

Computes the opcode.
protected ComputeOpCode ( Operand destination, Operand source, Operand third ) : OpCode
destination Operand The destination operand.
source Operand The source operand.
third Operand The third operand.
return OpCode

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