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

# dload\_\<n>

## Operation

Load `double` from local variable

## Format

```
dload_<n>
```

## Forms

*dload_0* = 38 (0x26)

*dload_1* = 39 (0x27)

*dload_2* = 40 (0x28)

*dload_3* = 41 (0x29)

## Operand Stack

... →

..., *value*

## Description

Both <*n*> and <*n*>+1 must be indices into the local variable array of the current frame ([§2.6](2.6.md)). The local variable at <*n*> must contain a `double`. The *value* of the local variable at <*n*> is pushed onto the operand stack.

## Notes

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