edu.arizona.cs.mbel.instructions
Class XOR
java.lang.Object
edu.arizona.cs.mbel.instructions.Instruction
edu.arizona.cs.mbel.instructions.XOR
- public class XOR
- extends Instruction
Exclusive OR instruction.
Stack transition:
..., value1, value2 --> result
|
Constructor Summary |
XOR()
Creates a new XOR object |
XOR(int opcode,
ClassParser parse)
|
|
Method Summary |
boolean |
equals(java.lang.Object o)
|
java.lang.String |
getName()
Returns the string representation of this instruction (may vary instance-to-instance) |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
XOR
public static final int XOR
- See Also:
- Constant Field Values
OPCODE_LIST
protected static final int[] OPCODE_LIST
XOR
public XOR()
throws InstructionInitException
- Creates a new XOR object
XOR
public XOR(int opcode,
ClassParser parse)
throws java.io.IOException,
InstructionInitException
getName
public java.lang.String getName()
- Description copied from class:
Instruction
- Returns the string representation of this instruction (may vary instance-to-instance)
- Specified by:
getName in class Instruction
- Returns:
- a string representing this instruction (i.e. "cpblk")
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals in class Instruction