Description:
Pop the top short off of the stack and logical XOR it to the new top short on the stack.
Pseudo Code:
shortVal = stack[sp - 2]
sp = sp - 2
stack[sp - 2] = stack[sp - 2] ^ shortVal
pc = pc + 1
Flags Affected:
Possible Errors:
Example:
xors
Before
| stack | | | top | | 1 | 0x0C | | 2 | 0xFE | | 3 | 0x0B | | 4 | 0x17 | | | bottom |
|
| | After
| stack | | | top | | 1 | 0x07 | | 2 | 0xE9 | | | bottom |
|
|
version: 1.0, build n.a.
© Copyright 1994-2012 Acroname, Inc., Boulder, Colorado. All rights reserved.