update
[rrq/rrqforth.git] / memory.asm
index 7d5f1440eb53e93fa7a1eeb1625afa2d52ea140b..4fe4772f76c38b3652e4308b1941ca1871541b27 100644 (file)
        next
 
        WORD p_tfa2flags_get,'TFA>FLAGS@',fasm
-       ;; ( cfa -- flags )
+       ;; ( tfa -- flags )
        pop rax
        push qword[rax+16]
        next
 
+       WORD p_tfa2namez,'TFA>NAMEZ',fasm
+       ;; (  tfa -- char* )
+       pop rax
+       add rax,32
+       push rax
+       next
+
+       WORD p_cfa2tfa,'CFA>TFA',fasm
+       ;; ( cfa -- tfa )
+       pop rax
+       cfa2tfa rax
+       push rax
+       next
+
        WORD p_cfa2flags_get,'CFA>FLAGS@',fasm
        ;; ( cfa -- flags )
        pop rax