INCH $X,YZ
INCMH $X,YZ
INCML $X,YZ
INCL $X,YZ
Specification:
INCH: u($X) | ← (u($X) + YZ × 248) mod 264 |
INCMH: u($X) | ← (u($X) + YZ × 232) mod 264 |
INCML: u($X) | ← (u($X) + YZ × 216) mod 264 |
INCL: u($X) | ← (u($X) + YZ) mod 264 |
Timing:
1υ
Description:
This collection of increment instructions will first shift the 16-bit immediate value to the left by 6, 4, 2, or 0 byte before adding it to $X.
INCH | INCMH | INCML | INCL | The 16-bit unsigned number YZ is shifted left by either 48 or 32 or 16 or 0 bits, respectively, and added to register $X, ignoring overflow; the result is placed back into register $X. If YZ is the hexadecimal constant #8000, the command INCH $X,YZ complements the most significant bit of register $X. This can be used to negate a floating point number. |
See also: