hi, voting also for Z88DK, but in case you want simple assembler with C-source I found very simply written ASMX from Bruce Tomlin, he maintains it in SVN, some guy made github from it and I forked it and converted it back to original allman-style (heretical, I know) + recently added some "namespace prefixes" to the code for better understanding of it (easy in vscode, all C refactoring, reliable, safe ...), as I plan to write assembler for my "interpreter around rv32em-alike asm, enhanced by some CISCy opcodes, this is crazy thing, with possible structured lang on top of C-like syntax (nsa ghidra decompiles this way any assembly to pseudo-C, btw, interesting find also)
so this is modified ASMX:
https://github.com/apws/230831-asmxand here is yet another (almost) C asm, here I as a try added reduced rv32em by reducing huge 64bit, FP, VEC risc-v ... also as alternative for my asm:
(imho its interesting tool/code too)
https://github.com/apws/250503-naken_asm(good to have source for everything)
would be cool to have some simple interactive interpreter (forth usually used for this, but that's almost suicide) for testing around hardware (so this is what I am trying to do as fusion of retro and future), but as prequel to this, I experimented with TinyBasicPlus primitive (extendable) Basic interpreter in C (cool is cooperation with "Termite" simple windows terminal to send/load and receive/save small basic routines to target) - I renamed this modified thing for myself as "sally", but this basic thing then turned into that interpreted rv32em HLL asm thing "dreaming";
https://github.com/apws/250617-VMEX-research/tree/main/doc/!--prequel-sally/sally-00totally simple assembler for own experiments (written in archaic K&R C) is 68xx cross assembler from
waveguide.se (here thanks to Alan for pointing to super video generation article, found here also cool usage of ym2413, ymz284, mc3 computer/monitor, very interesting
... I have collected things for larger post, also read almost all docs of Alan's Fuzix and FCK (big proper C-subset optimizing compiler approach), but busy here with many things yet)
https://www.waveguide.se/?search=mc3Petr