This is the branch of Luauni where development goes on in Unity.
The current goal is trying to emulate Robot 64 Engine.
This is a list of all the opcodes Luauni currently supports.
✅ - Supported
✖️ - Ignored
❌ - Unsupported, will halt execution if ran into
✖️ LOP_NOP
✖️ LOP_BREAK
✅ LOP_LOADNIL
✅ LOP_LOADB
LOP_LOADN
LOP_LOADK
✅ LOP_MOVE
✅ LOP_GETGLOBAL
LOP_SETGLOBAL
✅ LOP_GETUPVAL
LOP_SETUPVAL
✖️ LOP_CLOSEUPVALS
✅ LOP_GETIMPORT
✅ LOP_GETTABLE
LOP_SETTABLE
✅ LOP_GETTABLEKS
✅ LOP_SETTABLEKS
✅ LOP_GETTABLEN
LOP_SETTABLEN
✅ LOP_NEWCLOSURE
✅ LOP_NAMECALL
✅ LOP_CALL
✅ LOP_RETURN
✅ LOP_JUMP
LOP_JUMPBACK
✅ LOP_JUMPIF
LOP_JUMPIFNOT
LOP_JUMPIFEQ
LOP_JUMPIFLT
LOP_JUMPIFNOTEQ
LOP_JUMPIFNOTLT
LOP_JUMPIFLE
LOP_JUMPIFNOTLE
✅ LOP_ADD
LOP_SUB
LOP_MUL
LOP_DIV
LOP_MOD
LOP_POW
✅ LOP_ADDK
LOP_SUBK
LOP_MULK
LOP_DIVK
LOP_MODK
LOP_POWK
✅ LOP_AND
LOP_OR
❌ LOP_ANDK
✅ LOP_ORK
✅ LOP_CONCAT
✅ LOP_MINUS
✅ LOP_NOT
LOP_LENGTH
✅ LOP_NEWTABLE
✅ LOP_DUPTABLE
✅ LOP_SETLIST
✅ LOP_FORNPREP
LOP_FORNLOOP
LOP_FORGPREP
LOP_FORGLOOP
❌ LOP_FORGLOOP_INEXT
LOP_DEP_FORGLOOP_INEXT
LOP_FORGPREP_NEXT
❌ LOP_NATIVECALL
❌ LOP_GETVARARGS
✖️ LOP_PREPVARARGS
✅ LOP_DUPCLOSURE
❌ LOP_LOADKX
❌ LOP_JUMPX
✖️ LOP_FASTCALL
LOP_FASTCALL1
LOP_FASTCALL2
LOP_FASTCALL2K
❌ LOP_COVERAGE
✅ LOP_CAPTURE
❌ LOP_SUBRK
LOP_DIVRK
✅ LOP_JUMPXEQKNIL
LOP_JUMPXEQKB
LOP_JUMPXEQKN
LOP_JUMPXEQKS
❌ LOP_IDIV
LOP_IDIVK