139.

prev next contents
fload_<n>

retrieve float from local variable <n>

Jasmin Syntax
     fload_0 or     fload_1 or     fload_2 or     fload_3 
Stack

Before

After
...
float-value

...
Description

fload_<n> represents the series of opcodes fload_0, fload_1, fload_2, and fload_3 that retrieve a single precision float in local variables 0, 1, 2 or 3 and push it onto the stack. <n> must be a valid local variable number in the current frame.

'fload_<n>' is functionally equivalent to 'fload <n>', although it is typically more efficient and also takes fewer bytes in the bytecode.

Example

 fload_0         ;push float in local variable 0 fload_1         ;push float in local variable 1 fload_2         ;push float in local variable 2 fload_3         ;push float in local variable 3 
Bytecode

Type

Description
u1
fload_0 opcode = 0x22 (34)
u1
fload_1 opcode = 0x23 (35)
u1
fload_2 opcode = 0x24 (36)
u1
fload_3 opcode = 0x25 (37)
See Also

aload, iload, lload, dload, fload


prev next contents
Java Virtual Machine, by Jon Meyer and Troy Downing, O'Reilly Associates


Java Virtual Machine
Java Virtual Machine (Java Series)
ISBN: 1565921941
EAN: 2147483647
Year: 1996
Pages: 171

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net