ceq |
Class: B |
(legend) |
Operand Stack | Heap | Condition Codes |
|
N/A |
1 = the two variables are equal 0 = the two variables are not equal |
Pops two variables off the stack. Set the condition to 1 if the two variables have the same type and value. If one variable is an AgentID and the other a Value, the condition is set to true if the AgentID's unique id is equal to the value.
If the two values are both of type location and heap[11] contains a value, the value determines what to compare: 1 = x only, 2 = y only, otherwise both axies are compared.