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

Representations the x86 inc instruction.
Inheritance: X86Instruction
Show file Open project: tgiphil/MOSA-Project

Public Methods

Method Description
Inc ( ) : System

Initializes a new instance of Inc.

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

ComputeOpCode() protected method

Computes the opcode.
protected ComputeOpCode ( Operand destination, Operand source, Operand third ) : 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 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

Inc() public method

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