projects
/
rrq
/
rrqforth.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bcb53ba
)
added STREAM macro
author
Ralph Ronnquist
<ralph.ronnquist@gmail.com>
Sat, 22 May 2021 11:34:30 +0000
(21:34 +1000)
committer
Ralph Ronnquist
<ralph.ronnquist@gmail.com>
Sat, 22 May 2021 11:34:30 +0000
(21:34 +1000)
machine.asm
patch
|
blob
|
history
diff --git
a/machine.asm
b/machine.asm
index 7f65bbeb130390cd6f96121a65be3046275e5f6f..6a133a170503eef5ea54178e484d115d39904ae2 100644
(file)
--- a/
machine.asm
+++ b/
machine.asm
@@
-234,3
+234,15
@@
macro BRANCH zero,label {
end if
dq label - $ - 8
}
+
+;;; ========================================
+;;; The STREAM macro starts an in-core FORTH STREAM area. See WORD
+;;; STREAM for details.
+ macro STREAM endlabel {
+ local datastart
+ dq $+32
+ dq -1
+ dq endlabel - datastart
+ dq 0
+datastart:
+ }