meaning | byte | short | int | long | float | double | char | reference |
push a constant onto stack | bipush | sipush | | | | | | |
constant value | | | iconst | lconst | fconst | dconst | | acont |
load local variable onto stack | | | iload | lload | float | dload | | aload |
pop stack and save as local variable | | | istore | lstore | fstore | dstore | | astore |
increment operator | | | iinc | | | | | |
load local array element onto stack | baload | saload | iaload | laload | faload | daload | caload | aaload |
pop stack and save as array element | bastore | sastore | iastore | lastore | fastore | dastore | castore | aastore |
add | | | iadd | ladd | fadd | dadd | | |
sub | | | isub | lsub | fsub | dsub | | |
mul | | | imul | lmul | fmul | dmul | | |
div | | | idiv | ldiv | fdiv | ddiv | | |
rem | | | irem | lrem | frem | drem | | |
negation | | | ineg | lneg | fneg | dneg | | |
shift left | | | ishl | lshl | | | | |
shift right | | | ishr | lshr | | | | |
unsigned shift right | | | iushr | lushr | | | | |
bitwise and & | | | iand | land | | | | |
bitwise or | | | | ior | lor | | | | |
bitwase xor | | | ixor | lxor | | | | |
integer convert to | i2b | i2s | | i2l | i2f | i2d | | |
long convert to | | | l2i | | l2f | l2d | | |
float to | | | f2i | f2l | | f2d | | |
double to | | | d2i | d2l | d2f | | | |
comparison | | | | lcmp | | | | |
compl | | | | | fcmpl | dcmpl | | |
compg | | | | | fcmpg | dcmpg | | |
if_cmpOP | | | if_icmpOP | | | | | if_acmpOP |
return | | | ireturn | lreturn | freturn | dreturn | | areturn |