Show / Hide Table of Contents

Class CmpInstruction

Compares the top two stack values (-1, 0, or 1 result).

Inheritance
object
Instruction
CmpInstruction
Inherited Members
Instruction.Code
Instruction.Mnemonic
Instruction.OperandSize
Instruction.StackEffect
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: VM.Core.Instructions
Assembly: VM.dll
Syntax
public class CmpInstruction : Instruction

Constructors

CmpInstruction()

Compares the top two stack values (-1, 0, or 1 result).

Declaration
public CmpInstruction()

Methods

Execute(ExContext, FrameStack)

Executes the instruction with the given context.

Declaration
public override void Execute(ExContext context, FrameStack frames)
Parameters
Type Name Description
ExContext context

The execution context

FrameStack frames

The frame stack

Overrides
Instruction.Execute(ExContext, FrameStack)
In this article
Back to top Generated by DocFX