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

# lload

## Operation

Load `long` from local variable

## Format

```
lload
index
```

## Forms

*lload* = 22 (0x16)

## Operand Stack

... →

..., *value*

## Description

The *index* is an unsigned byte. Both *index* and *index*+1 must be indices into the local variable array of the current frame ([§2.6](2.6.md)). The local variable at *index* must contain a `long`. The *value* of the local variable at *index* is pushed onto the operand stack.

## Notes

The *lload* opcode can be used in conjunction with the *wide* instruction ([§*wide*](6.5.wide.md)) to access a local variable using a two-byte unsigned index.
