summaryrefslogtreecommitdiff
path: root/lopcodes.h
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2023-03-09 11:10:04 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2023-03-09 11:10:04 -0300
commit1de2f31694ddbc86b18e491c8aedc91791f512e2 (patch)
tree01fa1b5fe0cce50c062f8ed07f98741b339bbb66 /lopcodes.h
parent02bab9fc258fe1cbc6088b1bd61193499d058eff (diff)
downloadlua-github-1de2f31694ddbc86b18e491c8aedc91791f512e2.tar.gz
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.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lopcodes.h b/lopcodes.h
index 7c274515..4c551453 100644
--- a/lopcodes.h
+++ b/lopcodes.h
@@ -21,7 +21,7 @@ iABC C(8) | B(8) |k| A(8) | Op(7) |
iABx Bx(17) | A(8) | Op(7) |
iAsBx sBx (signed)(17) | A(8) | Op(7) |
iAx Ax(25) | Op(7) |
-isJ sJ(25) | Op(7) |
+isJ sJ (signed)(25) | Op(7) |
A signed argument is represented in excess K: the represented value is
the written unsigned value minus K, where K is half the maximum for the