diff options
Diffstat (limited to 'lopcodes.h')
-rw-r--r-- | lopcodes.h | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -286,9 +286,9 @@ OP_RETURN,/* A B C return R(A), ... ,R(A+B-2) (see note) */ | |||
286 | OP_RETURN0,/* return */ | 286 | OP_RETURN0,/* return */ |
287 | OP_RETURN1,/* A return R(A) */ | 287 | OP_RETURN1,/* A return R(A) */ |
288 | 288 | ||
289 | OP_FORLOOP,/* A Bx R(A)+=R(A+2); | 289 | OP_FORLOOP,/* A Bx update counters; if loop continues then pc-=Bx; */ |
290 | if R(A) <?= R(A+1) then { pc-=Bx; R(A+3)=R(A) } */ | 290 | OP_FORPREP,/* A Bx <check values and prepare counters>; |
291 | OP_FORPREP,/* A Bx R(A)-=R(A+2); pc+=Bx */ | 291 | if not to run then pc+=Bx+1; */ |
292 | 292 | ||
293 | OP_TFORPREP,/* A Bx create upvalue for R(A + 3); pc+=Bx */ | 293 | OP_TFORPREP,/* A Bx create upvalue for R(A + 3); pc+=Bx */ |
294 | OP_TFORCALL,/* A C R(A+4), ... ,R(A+3+C) := R(A)(R(A+1), R(A+2)); */ | 294 | OP_TFORCALL,/* A C R(A+4), ... ,R(A+3+C) := R(A)(R(A+1), R(A+2)); */ |