159.

prev next contents
pop2

discard top two words on stack

Jasmin Syntax
     pop2 
Stack

Before

After
item1
...
item2

...

Description

Removes two single-word items from the stack (e.g. two integers, or an integer and an object reference) or one two-word item (i.e. a double or a long).

Example

 invokemethod Myclass/foo()D    ; call double Myclass.foo(); pop2                           ; discard the double result 

Bytecode

Type

Description
u1
pop2 opcode = 0x58 (88)
See Also

pop


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