2018-07-09 18:50:51 +03:00
|
|
|
/*
|
2018-08-23 20:26:12 +03:00
|
|
|
** $Id: lopnames.h $
|
2018-07-09 18:50:51 +03:00
|
|
|
** Opcode names
|
|
|
|
** See Copyright Notice in lua.h
|
|
|
|
*/
|
|
|
|
|
|
|
|
#if !defined(lopnames_h)
|
|
|
|
#define lopnames_h
|
|
|
|
|
2020-04-23 20:48:15 +03:00
|
|
|
#include <stddef.h>
|
|
|
|
|
|
|
|
|
2018-07-09 18:50:51 +03:00
|
|
|
/* ORDER OP */
|
|
|
|
|
|
|
|
static const char *const opnames[] = {
|
|
|
|
"MOVE",
|
|
|
|
"LOADI",
|
|
|
|
"LOADF",
|
|
|
|
"LOADK",
|
|
|
|
"LOADKX",
|
2020-01-06 17:38:31 +03:00
|
|
|
"LOADFALSE",
|
2020-02-11 17:12:33 +03:00
|
|
|
"LFALSESKIP",
|
2020-01-06 17:38:31 +03:00
|
|
|
"LOADTRUE",
|
2018-07-09 18:50:51 +03:00
|
|
|
"LOADNIL",
|
|
|
|
"GETUPVAL",
|
|
|
|
"SETUPVAL",
|
|
|
|
"GETTABUP",
|
|
|
|
"GETTABLE",
|
|
|
|
"GETI",
|
|
|
|
"GETFIELD",
|
|
|
|
"SETTABUP",
|
|
|
|
"SETTABLE",
|
|
|
|
"SETI",
|
|
|
|
"SETFIELD",
|
|
|
|
"NEWTABLE",
|
|
|
|
"SELF",
|
|
|
|
"ADDI",
|
2018-11-23 17:23:45 +03:00
|
|
|
"ADDK",
|
|
|
|
"SUBK",
|
|
|
|
"MULK",
|
|
|
|
"MODK",
|
|
|
|
"POWK",
|
|
|
|
"DIVK",
|
|
|
|
"IDIVK",
|
2018-07-09 18:50:51 +03:00
|
|
|
"BANDK",
|
|
|
|
"BORK",
|
|
|
|
"BXORK",
|
|
|
|
"SHRI",
|
|
|
|
"SHLI",
|
|
|
|
"ADD",
|
|
|
|
"SUB",
|
|
|
|
"MUL",
|
|
|
|
"MOD",
|
|
|
|
"POW",
|
|
|
|
"DIV",
|
|
|
|
"IDIV",
|
|
|
|
"BAND",
|
|
|
|
"BOR",
|
|
|
|
"BXOR",
|
|
|
|
"SHL",
|
|
|
|
"SHR",
|
2019-08-27 19:59:39 +03:00
|
|
|
"MMBIN",
|
|
|
|
"MMBINI",
|
|
|
|
"MMBINK",
|
2018-07-09 18:50:51 +03:00
|
|
|
"UNM",
|
|
|
|
"BNOT",
|
|
|
|
"NOT",
|
|
|
|
"LEN",
|
|
|
|
"CONCAT",
|
|
|
|
"CLOSE",
|
2018-10-08 16:42:07 +03:00
|
|
|
"TBC",
|
2018-07-09 18:50:51 +03:00
|
|
|
"JMP",
|
|
|
|
"EQ",
|
|
|
|
"LT",
|
|
|
|
"LE",
|
|
|
|
"EQK",
|
|
|
|
"EQI",
|
|
|
|
"LTI",
|
|
|
|
"LEI",
|
|
|
|
"GTI",
|
|
|
|
"GEI",
|
|
|
|
"TEST",
|
|
|
|
"TESTSET",
|
|
|
|
"CALL",
|
|
|
|
"TAILCALL",
|
|
|
|
"RETURN",
|
|
|
|
"RETURN0",
|
|
|
|
"RETURN1",
|
|
|
|
"FORLOOP",
|
|
|
|
"FORPREP",
|
2018-10-26 16:38:50 +03:00
|
|
|
"TFORPREP",
|
2018-07-09 18:50:51 +03:00
|
|
|
"TFORCALL",
|
|
|
|
"TFORLOOP",
|
|
|
|
"SETLIST",
|
|
|
|
"CLOSURE",
|
|
|
|
"VARARG",
|
2019-03-22 19:37:17 +03:00
|
|
|
"VARARGPREP",
|
2018-07-09 18:50:51 +03:00
|
|
|
"EXTRAARG",
|
|
|
|
NULL
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|
|
|
|
|