Related Projects > NASMX
Announcing NASM-X v1.4
ben321:
Interesting project, is it possible to use macros with NASM to write assembly code for any architecture? For example, in SNES assembly, there's not the 8 main registers found in an Intel chip. There's only 3 main registers, and they are called A, X, and Y. Is it possible to "teach" NASM, using macros to recognize other registers for other system architectures? Or are its hardcoded Intel register names the only register names that can be used in NASM? How extensible is NASM in terms of using macros to define assembly code for other architectures?
Frank Kotler:
Unlikely to work on another cpu. Nothing to lose but your time trying.
Best,
Frank
Navigation
[0] Message Index
[*] Previous page
Go to full version