Java Virtual Machine (Java Series)
pop2
pop2 Stack
Before | After |
| item1 | ... |
| item2 | |
| ... |
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) |
pop
prev next contents
Java Virtual Machine, by Jon Meyer and Troy Downing, O'Reilly Associates
Категории