aboutsummaryrefslogtreecommitdiff
path: root/lopcodes.h
diff options
context:
space:
mode:
Diffstat (limited to 'lopcodes.h')
-rw-r--r--lopcodes.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/lopcodes.h b/lopcodes.h
index f581dd1d..7492c462 100644
--- a/lopcodes.h
+++ b/lopcodes.h
@@ -131,12 +131,13 @@ OP_MOVE,/* A B R(A) := R(B) */
131OP_LOADK,/* A Bc R(A) := Kst(Bc) */ 131OP_LOADK,/* A Bc R(A) := Kst(Bc) */
132OP_LOADINT,/* A sBc R(A) := (Number)sBc */ 132OP_LOADINT,/* A sBc R(A) := (Number)sBc */
133OP_LOADNIL,/* A B R(A) := ... := R(B) := nil */ 133OP_LOADNIL,/* A B R(A) := ... := R(B) := nil */
134OP_LOADUPVAL,/* A Bc R(A) := UpValue[Bc] */ 134OP_GETUPVAL,/* A B R(A) := UpValue[B] */
135 135
136OP_GETGLOBAL,/* A Bc R(A) := Gbl[Kst(Bc)] */ 136OP_GETGLOBAL,/* A Bc R(A) := Gbl[Kst(Bc)] */
137OP_GETTABLE,/* A B C R(A) := R(B)[R/K(C)] */ 137OP_GETTABLE,/* A B C R(A) := R(B)[R/K(C)] */
138 138
139OP_SETGLOBAL,/* A Bc Gbl[Kst(Bc)] := R(A) */ 139OP_SETGLOBAL,/* A Bc Gbl[Kst(Bc)] := R(A) */
140OP_SETUPVAL,/* A B UpValue[B] := R(A) */
140OP_SETTABLE,/* A B C R(B)[R/K(C)] := R(A) */ 141OP_SETTABLE,/* A B C R(B)[R/K(C)] := R(A) */
141 142
142OP_NEWTABLE,/* A Bc R(A) := {} (size = Bc) */ 143OP_NEWTABLE,/* A Bc R(A) := {} (size = Bc) */
@@ -180,6 +181,7 @@ OP_TFORLOOP,/* A sBc */
180OP_SETLIST,/* A Bc R(A)[Bc-Bc%FPF+i] := R(A+i), 1 <= i <= Bc%FPF+1 */ 181OP_SETLIST,/* A Bc R(A)[Bc-Bc%FPF+i] := R(A+i), 1 <= i <= Bc%FPF+1 */
181OP_SETLISTO,/* A Bc */ 182OP_SETLISTO,/* A Bc */
182 183
184OP_CLOSE,/* A close all variables in the stack up to (>=) R(A)*/
183OP_CLOSURE /* A Bc R(A) := closure(KPROTO[Bc], R(A), ... ,R(A+n)) */ 185OP_CLOSURE /* A Bc R(A) := closure(KPROTO[Bc], R(A), ... ,R(A+n)) */
184} OpCode; 186} OpCode;
185 187