mirao Posted March 6, 2017 Share Posted March 6, 2017 Hi, I played with the new directive .DEFINE and found an issue. Not sure where to report it, so I'm trying this site. Have this code: .define poke mva #%%2 %%1 lda\ #\ 12 Then assembler fails: $ mads testmads .define poke mva #%%2 %%1\ testmads.asm (4) ERROR: Multi-line argument is not supported If you omit the definition of "poke", it works well - the next lines are interpreted as "lda #12" Used SW: Ubuntu 16.10, MADS 2.0.6 Regards Mira Quote Link to comment Share on other sites More sharing options...
tebe Posted March 7, 2017 Share Posted March 7, 2017 (edited) .define poke mva #%%2 %%1 poke (712,1) mads 2.0.6 build 59 (1 Feb 17) Source: d:\!Delphi\mads\test3.asm 1 2 3 org $2000 4 5 6 .define poke mva #%%2 %%1 7 8 9 FFFF> 2000-2004> A9 01 + mva #1 712 10 .define not recognize char '\' multi-line example: dta \ $00,$01 Edited March 7, 2017 by tebe Quote Link to comment Share on other sites More sharing options...
tebe Posted March 17, 2017 Share Posted March 17, 2017 ok, i found a bug, fake message 'ERROR: Multi-line argument is not supported' mads_206b67.zip Quote Link to comment Share on other sites More sharing options...
mirao Posted March 19, 2017 Author Share Posted March 19, 2017 ok, i found a bug, fake message 'ERROR: Multi-line argument is not supported' Yes, works for me with the fixed version, thanks. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.