ldc_w_quick

Push item from constant pool (wide index)

Bytecode

Type Description
u1 ldc_w_quick opcode = 0xCC (204)
u2 index

Stack ... => ..., item

Description
ldc_w_quick pushes a two-word constant onto the operand stack. ldc_w_quick takes a single parameter, which is the value to push. The following Java types can be pushed using ldc_w_quick: int, float, String

Pushing a String causes a reference to a java.lang.String object to be constructed and pushed onto the stack. Pusing an int or a float causes a primitive value to be pushed onto the stack.

Notes The opcode of this instruction was originally ldc_w. The operands of the ldc_w instruction are not modified.

The ldc_w_quick instruction is identical to the ldc_quick instruction, except for its wider constant pool index.