aboutsummaryrefslogtreecommitdiff
path: root/lopcodes.h
diff options
context:
space:
mode:
Diffstat (limited to 'lopcodes.h')
-rw-r--r--lopcodes.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/lopcodes.h b/lopcodes.h
index 8d199ea7..080c4a1c 100644
--- a/lopcodes.h
+++ b/lopcodes.h
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lopcodes.h,v 1.120 2005/05/20 15:53:42 roberto Exp roberto $ 2** $Id: lopcodes.h,v 1.121 2005/06/06 13:30:25 roberto Exp $
3** Opcodes for Lua virtual machine 3** Opcodes for Lua virtual machine
4** See Copyright Notice in lua.h 4** See Copyright Notice in lua.h
5*/ 5*/
@@ -186,7 +186,8 @@ OP_EQ,/* A B C if ((RK(B) == RK(C)) ~= A) then pc++ */
186OP_LT,/* A B C if ((RK(B) < RK(C)) ~= A) then pc++ */ 186OP_LT,/* A B C if ((RK(B) < RK(C)) ~= A) then pc++ */
187OP_LE,/* A B C if ((RK(B) <= RK(C)) ~= A) then pc++ */ 187OP_LE,/* A B C if ((RK(B) <= RK(C)) ~= A) then pc++ */
188 188
189OP_TEST,/* A B C if (R(B) <=> C) then R(A) := R(B) else pc++ */ 189OP_TEST,/* A C if not (R(A) <=> C) then pc++ */
190OP_TESTSET,/* A B C if (R(B) <=> C) then R(A) := R(B) else pc++ */
190 191
191OP_CALL,/* A B C R(A), ... ,R(A+C-2) := R(A)(R(A+1), ... ,R(A+B-1)) */ 192OP_CALL,/* A B C R(A), ... ,R(A+C-2) := R(A)(R(A+1), ... ,R(A+B-1)) */
192OP_TAILCALL,/* A B C return R(A)(R(A+1), ... ,R(A+B-1)) */ 193OP_TAILCALL,/* A B C return R(A)(R(A+1), ... ,R(A+B-1)) */