Description:
Pop the top short off of the stack and logical OR 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:
ors
Before
| stack | | | top | | 1 | 0x0C | | 2 | 0xFE | | 3 | 0x0B | | 4 | 0x17 | | | bottom |
|
| | After
| stack | | | top | | 1 | 0x0F | | 2 | 0xFF | | | bottom |
|
|
version: 1.0, build 80903
© Copyright 1994-2008 Acroname, Inc., Boulder, Colorado. All rights reserved.