bipush

push one-byte signed integer

Bytecode

Type Description
u1 bipush opcode = 0x10 (16)
u2 <n>

Stack ... ==> ..., value

Description

bipush takes a single parameter, <n> (an 8-bit signed integer), sign extends it to a 32-bit int, and pushes the resulting int value onto the operand stack. bipush is typically more efficient than ldc. It also occupies fewer bytes in the class file.