aboutsummaryrefslogtreecommitdiff
path: root/src/js
diff options
context:
space:
mode:
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