Module bytecode

Source
Expand description

Tools for bytecode generation.

Enums§

Opcode
A Lua opcode.
RK
A slot which is either a register (R) or constant (K).

Functions§

encode
Encode an instruction with A, B, and C parameters.
encode_ax
Encode an instruction with an Ax parameter.
encode_bx
Encode an instruction with A and Bx parameters.
encode_sbx
Encode an instruction with A and sBx parameters.