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

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

Public Methods

Method Description
Neg ( ) : System

Initializes a new instance of Neg.

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 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

Neg() public method

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