projects
/
rrq
/
rrqforth.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
added debug call into "next" macro
[rrq/rrqforth.git]
/
machine.asm
diff --git
a/machine.asm
b/machine.asm
index 6a133a170503eef5ea54178e484d115d39904ae2..86b1e7f1aac47f5276c6a3019dcb917b02f9febf 100644
(file)
--- a/
machine.asm
+++ b/
machine.asm
@@
-74,6
+74,7
@@
macro popr x {
macro next {
lodsq ; mov rax, [rsi] + add rsi,8
macro next {
lodsq ; mov rax, [rsi] + add rsi,8
+ call p_calltrace_DFA
jmp qword [rax] ; goto code of that FORTH word (64 bit jump)
}
jmp qword [rax] ; goto code of that FORTH word (64 bit jump)
}
@@
-97,9
+98,12
@@
macro ENDFORTH {
;;; ========================================
;;; The DOFORTH lays out a single FORTH call
;;; ========================================
;;; The DOFORTH lays out a single FORTH call
-macro DOFORTH label {
+macro DOFORTH [label] {
+common
FORTH
FORTH
+forward
dq label
dq label
+common
ENDFORTH
}
ENDFORTH
}