Lua字节码中操作码(opcode)后面的数字代表什么?

LOADKSETGLOBALCALL等操作码后面的数字代表什么意思?

E:\Project\ZhScheme\lua>luac -l luac.out

    main  (6 条指令, 24 字节 at 004784F8)
    0+ 参数, 2 slots, 0 upvalues, 0 locals, 4 常量, 0 函数
            1       [1]     LOADK           0 -2    ; 18
            2       [1]     SETGLOBAL       0 -1    ; a
            3       [2]     GETGLOBAL       0 -3    ; print
            4       [2]     LOADK           1 -4    ; "hello world"
            5       [2]     CALL            0 2 1
            6       [2]     RETURN          0 1

https://the-ravi-programming-language.readthedocs.io/en/latest/lua_bytecode_reference.html

http://files.catwell.info/misc/mirror/lua-5.2-bytecode-vm-dirk-laurie/lua52vm.html

这些数字代表18"hello world",但是这些常量存在哪里呢?

点赞