Contents | Prev | Next | Index

iload

Operation
Load int from local variable

iload
index

Forms
iload = 21 (0x15)

Stack
... ..., value

Description
The index is an unsigned byte that must be a valid index into the local variables of the current frame (§3.6). The local variable at index must contain an int. The value of the local variable at index is pushed onto the operand stack.

Notes
The iload opcode can be used in conjunction with the wide instruction to access a local variable using a two-byte unsigned index.


Contents | Prev | Next | Index

Java Virtual Machine Specification (HTML generated by dkramer on February 25, 1997)
Copyright © 1996 Sun Microsystems, Inc. All rights reserved
Please send any comments or corrections to doug.kramer@sun.com