From a84463a3dfb74b200fc208ab30f89de54631a846 Mon Sep 17 00:00:00 2001 From: Lauri Kasanen Date: Mon, 1 May 2017 20:12:18 +0300 Subject: [PATCH] callptr4 --- libsrc/runtime/callptr4.s | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 libsrc/runtime/callptr4.s diff --git a/libsrc/runtime/callptr4.s b/libsrc/runtime/callptr4.s new file mode 100644 index 000000000..9a15609aa --- /dev/null +++ b/libsrc/runtime/callptr4.s @@ -0,0 +1,10 @@ +; +; CC65 runtime: call function via pointer in ptr4 +; + + .export callptr4 + .importzp ptr4 + +callptr4: + jmp (ptr4) ; jump there + -- 2.39.5