Page 1 of 1

z80asm equ

Posted: Fri Nov 23, 2018 9:13 pm
by berk

z80asm doesnt support following syntax:

label: equ value

I have to remove colon in this case. Would it be possible to enable also this form?

Thank you


Posted: Sat Nov 24, 2018 8:55 pm
by stefano
you may be interested inthe awk scripts in {z88dk}/support/8080. toz80.awk converts from 8080 to z80 mnemonics but is also able to convert from equ to defc. z80 to z80 should work as well

Posted: Sun Nov 25, 2018 9:04 pm
by berk
Thank you - I will try

Posted: Tue Nov 27, 2018 5:41 am
by alvin
I opened an issue on github:

Posted: Thu Nov 29, 2018 10:52 pm
by pscust
Problem fixed. Thanks for reporting.

Posted: Mon Dec 03, 2018 8:59 pm
by berk
Thank you :-)