---
spec: JVMS
title: "The Java Virtual Machine Specification"
edition: "Java SE 22 Edition"
java_version: 22
chapter: "Chapter 6. The Java Virtual Machine Instruction Set"
section: "6.5.iload_n"
heading: "iload_<n>"
parent: "6.5. Instructions"
source: https://docs.oracle.com/javase/specs/jvms/se22/html/jvms-6.html#jvms-6.5.iload_n
id: "6.5.iload_n"
url: https://jvm.obfuscated.software/jvms/se22/6.5.iload_n.html
raw: https://jvm.obfuscated.software/jvms/se22/6.5.iload_n.md
---

# iload\_\<n>

## Operation

Load `int` from local variable

## Format

```
iload_<n>
```

## Forms

*iload_0* = 26 (0x1a)

*iload_1* = 27 (0x1b)

*iload_2* = 28 (0x1c)

*iload_3* = 29 (0x1d)

## Operand Stack

... →

..., *value*

## Description

The <*n*> must be an index into the local variable array of the current frame ([§2.6](2.6.md)). The local variable at <*n*> must contain an `int`. The *value* of the local variable at <*n*> is pushed onto the operand stack.

## Notes

Each of the *iload\_\<n>* instructions is the same as *iload* with an *index* of <*n*>, except that the operand <*n*> is implicit.
