Moving the debug trace point to be prior to advancing %rsi
authorRalph Ronnquist <ralph.ronnquist@gmail.com>
Fri, 4 Jun 2021 08:14:39 +0000 (18:14 +1000)
committerRalph Ronnquist <ralph.ronnquist@gmail.com>
Fri, 4 Jun 2021 08:14:39 +0000 (18:14 +1000)
machine.asm

index 86b1e7f1aac47f5276c6a3019dcb917b02f9febf..f1fb51c9015e4dc7533df6596915982f36cbf87d 100644 (file)
@@ -73,8 +73,8 @@ macro popr x {
 ;;; referring to the doer field of the called word.
 
 macro next {
-       lodsq                   ; mov rax, [rsi] + add rsi,8
        call p_calltrace_DFA
+       lodsq                   ; mov rax, [rsi] + add rsi,8
        jmp qword [rax]         ; goto code of that FORTH word (64 bit jump)
 }