projects
/
rrq
/
rrqforth.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
bug fix !+
[rrq/rrqforth.git]
/
machine.asm
diff --git
a/machine.asm
b/machine.asm
index 4628077226d1c0487e15c708a584a942a48313f1..082934cfa75897dab0cb1a82994d391fde60862b 100644
(file)
--- a/
machine.asm
+++ b/
machine.asm
@@
-73,6
+73,7
@@
macro popr x {
;;; referring to the doer field of the called word.
macro next {
;;; 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)
}
lodsq ; mov rax, [rsi] + add rsi,8
jmp qword [rax] ; goto code of that FORTH word (64 bit jump)
}
@@
-224,6
+225,7
@@
datastart:
forward
db data
common
forward
db data
common
+ db 0
dataend:
}
dataend:
}
@@
-232,6
+234,8
@@
dataend:
macro BRANCH zero,label {
if zero in <0>
dq p_zero_branch
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
else
dq p_branch
end if