M4 as an assembler preprocessor: looking for sample .m4 Assembly code
Paolo Amoroso <[email protected]> Tue, 20 Sep 2022 13:38:50 +0200
| Newsgroups | gmane.comp.gnu.m4.general |
|---|---|
| Message-ID | <CAGi1hzs6Yb-7CWxCK4Yx8sz5KBzgMZt-Rcc5Tw_ZP9cE8ORpoA@mail.gmail.com> |
I'm looking for Assembly source code that uses M4 as a macro preprocessor for an assembler, which I'd like to study. I'd prefer 8080, Z80, or x86 code but any CPU, microcontroller, or SoC will do. The only such code I found is the M4-based macro package for PicoBlaze microcontrollers <https://kevinpt.github.io/opbasm/rst/m4.html>, whose assembler comes with .m4 source <https://github.com/kevinpt/opbasm/blob/master/opbasm/picoblaze.m4>. Thanks, Paolo -- Paolo Amoroso <https://www.paoloamoroso.com> | Blog <https://journal.paoloamoroso.com> | Mastodon <https://mastodon.technology/@amoroso>