diff options
Diffstat (limited to 'lopcodes.h')
-rw-r--r-- | lopcodes.h | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -279,9 +279,9 @@ OP_FORLOOP,/* A Bx R(A)+=R(A+2); | |||
279 | if R(A) <?= R(A+1) then { pc-=Bx; R(A+3)=R(A) } */ | 279 | if R(A) <?= R(A+1) then { pc-=Bx; R(A+3)=R(A) } */ |
280 | OP_FORPREP,/* A Bx R(A)-=R(A+2); pc+=Bx */ | 280 | OP_FORPREP,/* A Bx R(A)-=R(A+2); pc+=Bx */ |
281 | 281 | ||
282 | OP_TFORPREP,/* A Bx create upvalue A; pc+=Bx */ | 282 | OP_TFORPREP,/* A Bx create upvalue for R(A + 3); pc+=Bx */ |
283 | OP_TFORCALL,/* A C R(A+3), ... ,R(A+2+C) := R(A)(R(A+1), R(A+2)); */ | 283 | OP_TFORCALL,/* A C R(A+4), ... ,R(A+3+C) := R(A)(R(A+1), R(A+2)); */ |
284 | OP_TFORLOOP,/* A Bx if R(A+1) ~= nil then { R(A)=R(A+1); pc -= Bx } */ | 284 | OP_TFORLOOP,/* A Bx if R(A+2) ~= nil then { R(A)=R(A+2); pc -= Bx } */ |
285 | 285 | ||
286 | OP_SETLIST,/* A B C R(A)[(C-1)*FPF+i] := R(A+i), 1 <= i <= B */ | 286 | OP_SETLIST,/* A B C R(A)[(C-1)*FPF+i] := R(A+i), 1 <= i <= B */ |
287 | 287 | ||