106.

prev next contents
l2i

long to integer conversion

Jasmin Syntax
     l2i 
Stack

Before

After
long-word1
integer
long-word2
...
...

Description

Pops a long integer off of the stack, discards the most significant 32 bits, and pushes the low 32 bits onto the stack as an int. This may cause the magnitude or sign of the value to change.

Bytecode

Type

Description
u1
l2i opcode = 0x88 (136)
See Also

l2f, l2d


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


Java Virtual Machine
Java Virtual Machine (Java Series)
ISBN: 1565921941
EAN: 2147483647
Year: 1996
Pages: 171

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net