reset to interacting state on error
[rrq/rrqforth.git] / machine.asm
index 4628077226d1c0487e15c708a584a942a48313f1..31db9ce305a77eec54ffc77f7834ac780cd838db 100644 (file)
@@ -73,6 +73,7 @@ macro popr x {
 ;;; referring to the doer field of the called word.
 
 macro next {
+       call p_calltrace_DFA
        lodsq                   ; mov rax, [rsi] + add rsi,8
        jmp qword [rax]         ; goto code of that FORTH word (64 bit jump)
 }
@@ -232,6 +233,8 @@ dataend:
 macro BRANCH zero,label {
        if zero in <0>
            dq p_zero_branch
+       else if zero in <1>
+           dq p_true_branch
        else
            dq p_branch
        end if