Description:
Negate the top short on the stack.
Pseudo Code:
stack[sp - 2] = - ((short) stack[sp - 2])
pc = pc + 1
Flags Affected:
Possible Errors:
Example:
negs
Before
| stack | | | top | | 1 | 0x0C | | 2 | 0xFE | | | bottom |
|
| | After
| stack | | | top | | 1 | 0xF4 | | 2 | 0x01 | | | bottom |
|
|
version: 1.0, build n.a.
© Copyright 1994-2012 Acroname, Inc., Boulder, Colorado. All rights reserved.