Moonquakes Opcode (Lua 5.4)
Moonquakes is bit-level compatible with the official Lua 5.4 virtual machine. All instructions use the same 32-bit encoding and opcode layout as Lua 5.4. This page tracks the implementation status of each Lua 5.4 opcode.
- [x] OP_MOVE register copy
- [x] OP_LOADI load integer constant
- [x] OP_LOADF load float constant
- [x] OP_LOADK load constant
- [x] OP_LOADKX load extended constant
- [x] OP_LOADFALSE load false
- [x] OP_LFALSESKIP load false and skip
- [x] OP_LOADTRUE load true
- [x] OP_LOADNIL load nil
- [x] OP_GETUPVAL get upvalue
- [x] OP_SETUPVAL set upvalue
- [x] OP_GETTABUP get from upvalue table
- [x] OP_GETTABLE table lookup
- [x] OP_GETI array lookup
- [x] OP_GETFIELD field lookup
- [x] OP_SETTABUP set upvalue table