Next: Instruction addlu, Previous: Instruction addi, Up: Arithmetic instructions [Contents][Index]
Synopsys:
addiu
Push the result of adding the two unsigned integers at the top of the stack.
Stack: ( UINT UINT -- UINT UINT UINT )
Instruction addl
Push the result of adding the two longs at the top of the stack. If the operation would result in overflow, raise PVM_E_OVERFLOW.
Note that this instruction does NOT check for signed overflow, and in case it occurs, the result contents are UB.
Stack: ( LONG LONG -- LONG LONG LONG )
Exceptions: PVM_E_OVERFLOW