Purpose: | To add 1 to an integer | |||||||||
Format: | opcode sum.mx | |||||||||
Operation: | sum <- sum + 1; | |||||||||
Condition Codes: |
N <- sum LSS 0; Z <- sum EQL 0; V <- {integer overflow}; C <- {carry from the most significant bit}; |
|||||||||
Exceptions: | Integer Overflow | |||||||||
Opcodes: |
|
|||||||||
Description: | One is added to the sum operand and the sum operand is replaced by the result | |||||||||
Notes: |
|