diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2023-03-09 11:10:04 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2023-03-09 11:10:04 -0300 |
commit | 1de2f31694ddbc86b18e491c8aedc91791f512e2 (patch) | |
tree | 01fa1b5fe0cce50c062f8ed07f98741b339bbb66 /lopcodes.h | |
parent | 02bab9fc258fe1cbc6088b1bd61193499d058eff (diff) | |
download | lua-1de2f31694ddbc86b18e491c8aedc91791f512e2.tar.gz lua-1de2f31694ddbc86b18e491c8aedc91791f512e2.tar.bz2 lua-1de2f31694ddbc86b18e491c8aedc91791f512e2.zip |
Corrected support for 16-bit systems
We still need access to a 16-bit system to correctly test
these changes.
Diffstat (limited to 'lopcodes.h')
-rw-r--r-- | lopcodes.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -21,7 +21,7 @@ iABC C(8) | B(8) |k| A(8) | Op(7) | | |||
21 | iABx Bx(17) | A(8) | Op(7) | | 21 | iABx Bx(17) | A(8) | Op(7) | |
22 | iAsBx sBx (signed)(17) | A(8) | Op(7) | | 22 | iAsBx sBx (signed)(17) | A(8) | Op(7) | |
23 | iAx Ax(25) | Op(7) | | 23 | iAx Ax(25) | Op(7) | |
24 | isJ sJ(25) | Op(7) | | 24 | isJ sJ (signed)(25) | Op(7) | |
25 | 25 | ||
26 | A signed argument is represented in excess K: the represented value is | 26 | A signed argument is represented in excess K: the represented value is |
27 | the written unsigned value minus K, where K is half the maximum for the | 27 | the written unsigned value minus K, where K is half the maximum for the |