santiontanon / mdlz80optimizer

MDL (a Z80 assembler optimizer)
Apache License 2.0
80 stars 6 forks source link

Issues with pasmo syntax? #47

Open ruyrybeyro opened 1 year ago

ruyrybeyro commented 1 year ago

Hi,

Trying to optimize a pasmo ASM file and having the following errors:

ERROR: Could not expand macro in TK Disassembler.asm#48: DASM_WKSP DEFS 32," " ;+11 Workspace for the disassembler ERROR: Could not expand macro in TK Disassembler.asm#1505: DEFM #80 ;Skip-over byte ERROR: Could not expand macro in TK Disassembler.asm#1508: DEFM "NO","P"+#80 ;0=NOP

Regards

santiontanon commented 1 year ago

Thanks for the report! Is the codebase available online so I can try to debug this? Or alternatively, could you share the piece of code where it fails? Thanks again!

ruyrybeyro commented 1 year ago

Sure, the download link is https://drive.google.com/file/d/1Df2ASUem-LQYotaP1uM3P8Zme9Ohx64c/view?usp=share_link

santiontanon commented 1 year ago

Oh, fantastic! Thanks a lot, I'll take a look and try to debug asap!