projects
/
rrq
/
jonasforth.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Implement Linux backend
[rrq/jonasforth.git]
/
main.asm
diff --git
a/main.asm
b/main.asm
index d1ff2b3192e7b59a6a677841f0886a31e9d9f3f3..93e576fe684543b77547aa936a2b74a109e34116 100644
(file)
--- a/
main.asm
+++ b/
main.asm
@@
-84,11
+84,11
@@
macro forth_asm label, name, immediate {
.start:
}
.start:
}
-os_code_section
-
include "impl.asm" ; Misc. subroutines
include "bootstrap.asm" ; Forth words encoded in Assembly
include "impl.asm" ; Misc. subroutines
include "bootstrap.asm" ; Forth words encoded in Assembly
+os_code_section
+
main:
cld ; Clear direction flag so LODSQ does the right thing.
mov rbp, return_stack_top ; Initialize return stack
main:
cld ; Clear direction flag so LODSQ does the right thing.
mov rbp, return_stack_top ; Initialize return stack