Java disassemble view instructions.

in the process of learning Java, there are some problems that you need to use Java disassembly tool javap to view bytecode instructions, but there are some problems when viewing bytecode instructions, assuming the following simple code,

public static void main(String[] args) {

    int var = 100;
    var = var / 10;
    System.out.println(var);
    
}

the first few instructions of disassembly class, are

bipush       100
istore_1
iload_1
...

Why does the first instruction push the variable into the Operand stack and then store the variable out of the stack in the local variable table instead of directly storing the variable in the local variable table?

Mar.21,2021
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b36dd3-2c03f.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b36dd3-2c03f.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?