7.5.91 sipush

Push short

Format

sipush

byte1

byte2

Forms

sipush = 19 (0x13)

Stack

… → …, value1.word1, value1.word2

Description

The immediate unsigned byte1 and byte2 values are assembled into a signed short where the value of the short is (byte1 « 8) | byte2. The intermediate value is then sign-extended to an int, and the resulting value is pushed onto the operand stack.

Notes

If a virtual machine does not support the int data type, the sipush instruction will not be available.