Java Virtual Machine (Java Series)

prev next contents
ladd

add two long integers

Jasmin Syntax

ladd Stack

Before

After
value1-word1 result-word1
value1-word2 result-word2
value2-word1 ...
value2-word2
...

Description

Pops two long integers from the operand stack, adds them and then pushes the result back onto the stack. On overflow, ladd produces a result whose low order bits are correct, but whose sign bit may be incorrect.

Bytecode

Type

Description
u1 ladd 0x61 (97)
See Also

iadd, fadd, dadd


prev next contents
Java Virtual Machine, by Jon Meyer and Troy Downing, O'Reilly Associates

Категории