Java Virtual Machine (Java Series)

prev next contents
imul

multiply two integers

Jasmin Syntax

imul Stack

Before

After
value1 result
value2 ...
...
Description

Pops the top two integers from the operand stack, multiplies them, and pushes the integer result back onto the stack. On overflow, imul produces a result whose low order bits are correct, but whose sign bit may be incorrect.

Bytecode

Type

Description
u1 imul opcode = 0x68 (104)
See Also

lmul, fmul, dmul


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

Категории