04-21-2010, 10:24 AM
programandala.net Wrote:That's right. You can assemble zxb generated asm code with the same options you pass to zxb. So the script would beboriel Wrote:I agree with LCD. In fact, you can create a simple script to do that:Of course! But I'd rather compile just once because the program is quite long. I think LCD meant it's easy to do by the compiler, not by me. Anyway I suppose the whole assembler is created in any case, and then passed to the Z80 compiler. Is it right? That's why I was suggesting the ZX Basic compiler to keep it anyway. But maybe my assumption is wrong.
Code:
zxb -A source.bas
zxbasm -taB source.asm