Closed siraben closed 4 years ago
Yes, I only use it for generating assembly, and link that with external tools, so none of the object emitting and assembler code is implemented yet. Also, that is calling your system assembler, so no surprise that it's so confused.
Which external tools do you use? And how do you properly resolve the call to __smulu
?
I use this for linking, but there's no documentation about the linker commands and such since it's only used by exactly one project. The name __smulu
comes from the eZ80 ZDS toolchain, which was where the original c compiler/linker came from, but was abandoned due to the inability to fix bugs in closed source software, but which does include the C and assembly source for its runtime routines. Eventually, I intend to replace them all with manual implementations written by me or other assembly experts in the community.
Thanks, from the examples I've tried so far the quality of the Z80 output has been pretty high!
Using the latest macOS release binary linked in the wiki: https://jacobly.com/llvm/ez80-clang-macOSRelease.zip
hello.c
It does generate assembly though, with the
-S
CLI option.