From d6ce4e22ad9b98ab06812506f5bec2d4226ee7d2 Mon Sep 17 00:00:00 2001 From: ubq323 Date: Fri, 21 Jun 2024 16:23:03 +0100 Subject: mandelbrot --- vm.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'vm.c') diff --git a/vm.c b/vm.c index eac0033..e3509c7 100644 --- a/vm.c +++ b/vm.c @@ -88,6 +88,9 @@ int runvm(State *S) { case OP_PUTS: println_val(PEEK()); break; + case OP_PRINT: + print_val(PEEK()); + break; case OP_DROP: --th->sp; break; -- cgit v1.2.3