pop2

Discard top two words on stack

Bytecode

Type Description
u1 pop2 opcode = 0x58 (88)

Stack ..., word2, word1 ==> ...

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).

The pop2 instruction must not be used unless each of word word1 and word2 is a word that contains a 32-bit data types or together are the two words of a single 64-bit datum.

Example

invokemethod Myclass/foo()D    ; call double Myclass.foo();
pop2                           ; discard the double result
Notes  
Except for restrictions preserving the integrity of 64-bit data types, the pop2 instruction 
operates on raw words, ignoring the types of the data they contain.