Java Virtual Machine (Java Series)
l2i
l2i Stack
Before | After |
| long-word1 | integer |
| long-word2 | ... |
| ... |
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) |
l2f, l2d
prev next contents
Java Virtual Machine, by Jon Meyer and Troy Downing, O'Reilly Associates
Категории