uk.ac.man.cs.rainbow.simulator.rasm
Class Lt
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.Lt
- All Implemented Interfaces:
- Serializable
- public class Lt
- extends RASM.Comparison
Less than.
x y
x<y
- See Also:
Data.Comparable
, Serialized Form
Method Summary |
protected boolean |
compare(int compareResult)
Determine the meaning of the result of a comparison between
values. |
String |
toString()
|
Lt
public Lt()
Lt
public Lt(RASMCode code)
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.