![]() |
asm/endasm missing equ? - Printable Version +- Forum (https://www.boriel.com/forum) +-- Forum: Compilers and Computer Languages (https://www.boriel.com/forum/forumdisplay.php?fid=12) +--- Forum: ZX Basic Compiler (https://www.boriel.com/forum/forumdisplay.php?fid=11) +---- Forum: Help & Support (https://www.boriel.com/forum/forumdisplay.php?fid=16) +---- Thread: asm/endasm missing equ? (/showthread.php?tid=492) |
asm/endasm missing equ? - nitrofurano - 08-20-2012 At <!-- m --><a class="postlink" href="https://www.facebook.com/groups/mc1000/">https://www.facebook.com/groups/mc1000/</a><!-- m -->, Emerson Costa (ensjo) is helping me a lot on the mc1000 version of zxbasic-compiler , but as soon he sent to me a library in asm with equ, zxbasic-compiler didn't recognize it. Is that planned a support for equ, and how simple/possible is to add this? (it seems to be like associating variable names to values inside the asm code, just like variables on the basic code?) Re: asm/endasm missing equ? - boriel - 08-21-2012 nitrofurano Wrote:At <!-- m --><a class="postlink" href="https://www.facebook.com/groups/mc1000/">https://www.facebook.com/groups/mc1000/</a><!-- m -->, Emerson Costa (ensjo) is helping me a lot on the mc1000 version of zxbasic-compiler , but as soon he sent to me a library in asm with equ, zxbasic-compiler didn't recognize it.ZXBasm (the ZXBasic compiler) already supports EQU, so I don't understand what do you mean exactly. Can you put me an example? The EQU syntax is: Code: MyLabel EQU <expression> Re: asm/endasm missing equ? - nitrofurano - 08-28-2012 sorry, nevermind - Ensjo shared to me a library snippet (for cls on mc1000 machine) which used equ wrongly, and since he is more experimented on assembly, i imagined that were a lack of support - sorry! :| |