inc |
Class: B |
(legend) |
Operand Stack | Heap | Condition Codes |
|
heap [11] may be used to determine whether to increment the x (1), y (2), or both (any other value) axis when the top of the stack contains a location.
|
N/A |
Pops a value or location off the operand stack and pushes the value incremented back onto the stack. If the top of the stack is a location, it increments the location as follows: If heap[11] = <value:1> increment only x, if heap[11] = <value:2> increment only y, otherwise increment both x and y