aboutsummaryrefslogtreecommitdiff
path: root/src/js
diff options
context:
space:
mode:
authorGravatar zinc <zinc@downsta.ir> 2026-10-14 15:54:04 +0330
committerGravatar zinc <zinc@downsta.ir> 2026-10-14 15:54:04 +0330
commit0879d0a42d137054057cd2a1e37437e6be78ed0b (patch)
treefcb16d3185c1f80fae8d54cd9062bd68d6c0c88d /src/js
parentmerge spec conformance suite (diff)
parentmerge main into work/line-tables (diff)
merge line tables
Diffstat (limited to 'src/js')
-rw-r--r--src/js/tinyvm.ts2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/js/tinyvm.ts b/src/js/tinyvm.ts
index f779487..f52d4af 100644
--- a/src/js/tinyvm.ts
+++ b/src/js/tinyvm.ts
@@ -466,6 +466,8 @@ export class TinyVM {
}
return -1n;
}
+ case 56: // the return stack pointer: the word after the top return address
+ return BigInt(this.rr);
case 42: // poll: input is waiting
return this.inputPos < this.inputBuffer.length ? 1n : 0n;
case 41: { // shortest float text into a word buffer