diff options
Diffstat (limited to 'lopcodes.h')
| -rw-r--r-- | lopcodes.h | 5 |
1 files changed, 4 insertions, 1 deletions
| @@ -340,7 +340,7 @@ OP_VARARG,/* A C R[A], R[A+1], ..., R[A+C-2] = vararg */ | |||
| 340 | 340 | ||
| 341 | OP_GETVARG, /* A B C R[A] := R[B][R[C]], R[B] is vararg parameter */ | 341 | OP_GETVARG, /* A B C R[A] := R[B][R[C]], R[B] is vararg parameter */ |
| 342 | 342 | ||
| 343 | OP_ERRNNIL,/* A Bx raise error if R[A] ~= nil (K[Bx] is global name)*/ | 343 | OP_ERRNNIL,/* A Bx raise error if R[A] ~= nil (K[Bx - 1] is global name)*/ |
| 344 | 344 | ||
| 345 | OP_VARARGPREP,/* (adjust vararg parameters) */ | 345 | OP_VARARGPREP,/* (adjust vararg parameters) */ |
| 346 | 346 | ||
| @@ -386,6 +386,9 @@ OP_EXTRAARG/* Ax extra (larger) argument for previous opcode */ | |||
| 386 | power of 2) plus 1, or zero for size zero. If not k, the array size | 386 | power of 2) plus 1, or zero for size zero. If not k, the array size |
| 387 | is vC. Otherwise, the array size is EXTRAARG _ vC. | 387 | is vC. Otherwise, the array size is EXTRAARG _ vC. |
| 388 | 388 | ||
| 389 | (*) In OP_ERRNNIL, (Bx == 0) means index of global name doesn't | ||
| 390 | fit in Bx. (So, that name is not available for the instruction.) | ||
| 391 | |||
| 389 | (*) For comparisons, k specifies what condition the test should accept | 392 | (*) For comparisons, k specifies what condition the test should accept |
| 390 | (true or false). | 393 | (true or false). |
| 391 | 394 | ||
