expand DOFORTH to allow multiple ptrs
authorRalph Ronnquist <ralph.ronnquist@gmail.com>
Sun, 23 May 2021 14:47:37 +0000 (00:47 +1000)
committerRalph Ronnquist <ralph.ronnquist@gmail.com>
Sun, 23 May 2021 14:47:37 +0000 (00:47 +1000)
machine.asm

index 6a133a170503eef5ea54178e484d115d39904ae2..4628077226d1c0487e15c708a584a942a48313f1 100644 (file)
@@ -97,9 +97,12 @@ macro ENDFORTH {
 ;;; ========================================
 ;;; The DOFORTH lays out a single FORTH call
 
-macro DOFORTH label {
+macro DOFORTH [label] {
+common
        FORTH
+forward
        dq label
+common
        ENDFORTH
 }