uk.ac.man.cs.rainbow.simulator.rasm
Class Geq

java.lang.Object
  |
  +--uk.ac.man.cs.rainbow.simulator.Instruction
        |
        +--uk.ac.man.cs.rainbow.simulator.RASM.Comparison
              |
              +--uk.ac.man.cs.rainbow.simulator.rasm.Geq
All Implemented Interfaces:
Serializable

public class Geq
extends RASM.Comparison

Greater than or equal to.

x y x>=y

See Also:
Data.Comparable, Serialized Form

Inner classes inherited from class uk.ac.man.cs.rainbow.simulator.Instruction
Instruction.MACRO
 
Constructor Summary
Geq()
           
Geq(RASMCode code)
           
 
Method Summary
protected  boolean compare(int compareResult)
          Determine the meaning of the result of a comparison between values.
 String toString()
           
 
Methods inherited from class uk.ac.man.cs.rainbow.simulator.RASM.Comparison
execute
 
Methods inherited from class uk.ac.man.cs.rainbow.simulator.Instruction
addClass, getInstruction, getInstruction, getInstruction
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Geq

public Geq()

Geq

public Geq(RASMCode code)
Method Detail

toString

public String toString()
Overrides:
toString in class Object

compare

protected boolean compare(int compareResult)
Description copied from class: RASM.Comparison
Determine the meaning of the result of a comparison between values.
Overrides:
compare in class RASM.Comparison
Following copied from class: uk.ac.man.cs.rainbow.simulator.RASM.Comparison
Parameters:
executeResults - Negative if the first argument is less than the second, positive if the first argument is greater than the second, and zero otherwise.
Returns:
The boolean to push onto the stack.