9.

prev next contents
fstore_<n>

store float in local variable <n>

Jasmin Syntax
     fstore_0 or     fstore_1 or     fstore_2 or     fstore_3 
Stack

Before

After
value
...
...

Description

Pops a single precision floating point number off the stack and stores it in local variable <n>, where <n> is 0, 1, 2 or 3. <n> must be a valid local variable number in the current frame.

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

Example

 fstore_0        ;store float in local variable 0 fstore_1        ;store float in local variable 1 fstore_2        ;store float in local variable 2 fstore_3        ;store float in local variable 3 
Bytecode

Type

Description
u1
fstore_0 opcode = 0x43 (67)
u1
fstore_1 opcode = 0x44 (68)
u1
fstore_2 opcode = 0x45 (69)
u1
fstore_3 opcode = 0x46 (70)
See Also

istore, fstore, astore, dstore, lstore


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