flat assembler
Message board for the users of flat assembler.
Index
> Projects and Ideas > 64-bit Forth using fasm/ELF64 |
Author |
|
rrq 31 Jul 2021, 23:38
This is more of an announcement than dropping an idea, but anyhow:
I very recently "discovered" the charm of FASM, when, out of general curiosity, I looked into jonasforth hoping to learn something about the dark art of UEFI programming. However I was more taken by FASM (than UEFI), and as a result I started this toy project "rrqforth" to learn more. "rrqforth" is a reasonably complete 64-bit Forth interpreter as an ELF64 static binary developed on and for Linux. In this context it's kind of an illustration of what a FASM-beginner might do without getting bogged down into ontological concerns around data representation (since Forth doesn't really do data abstraction). Some people might be interested in the "utility tool", fas2txt.lsp, which processes the .fas file that is generated by the fasm compiler into a text file representing the core image of the executable. That text file was very useful when debugging (using gdb) as it associates the core image addresses with the source line(s) for the code layout, whether it's from a macro or an included file etc. I used newlisp for fas2txt.lsp because I find this to be a quite handy high-level scripting language for low-level data manipulation. enjoy |
|||
31 Jul 2021, 23:38 |
|
pabloreda 02 Aug 2021, 13:59
Nice to see another forth!
thank's fpr sharing |
|||
02 Aug 2021, 13:59 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2025, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.