diff options
Diffstat (limited to '')
| -rw-r--r-- | lopcodes.h | 6 |
1 files changed, 3 insertions, 3 deletions
| @@ -1,5 +1,5 @@ | |||
| 1 | /* | 1 | /* |
| 2 | ** $Id: lopcodes.h,v 1.172 2017/11/28 12:58:18 roberto Exp roberto $ | 2 | ** $Id: lopcodes.h,v 1.173 2017/11/29 16:57:36 roberto Exp roberto $ |
| 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 | */ |
| @@ -258,11 +258,11 @@ OP_RETURN0,/* return */ | |||
| 258 | OP_RETURN1,/* A return R(A) */ | 258 | OP_RETURN1,/* A return R(A) */ |
| 259 | 259 | ||
| 260 | OP_FORLOOP,/* A Bx R(A)+=R(A+2); | 260 | OP_FORLOOP,/* A Bx R(A)+=R(A+2); |
| 261 | if R(A) <?= R(A+1) then { pc-=Bx; R(A+3)=R(A) }*/ | 261 | if R(A) <?= R(A+1) then { pc-=Bx; R(A+3)=R(A) } */ |
| 262 | OP_FORPREP,/* A Bx R(A)-=R(A+2); pc+=Bx */ | 262 | OP_FORPREP,/* A Bx R(A)-=R(A+2); pc+=Bx */ |
| 263 | 263 | ||
| 264 | OP_TFORCALL,/* A C R(A+3), ... ,R(A+2+C) := R(A)(R(A+1), R(A+2)); */ | 264 | OP_TFORCALL,/* A C R(A+3), ... ,R(A+2+C) := R(A)(R(A+1), R(A+2)); */ |
| 265 | OP_TFORLOOP,/* A Bx if R(A+1) ~= nil then { R(A)=R(A+1); pc -= Bx }*/ | 265 | OP_TFORLOOP,/* A Bx if R(A+1) ~= nil then { R(A)=R(A+1); pc -= Bx } */ |
| 266 | 266 | ||
| 267 | OP_SETLIST,/* A B C R(A)[(C-1)*FPF+i] := R(A+i), 1 <= i <= B */ | 267 | OP_SETLIST,/* A B C R(A)[(C-1)*FPF+i] := R(A+i), 1 <= i <= B */ |
| 268 | 268 | ||
