Jump to content
IGNORED

Bug in MADS 2.0.6 related to multi-line argument


Recommended Posts

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
Link to comment
Share on other sites

.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 by tebe
Link to comment
Share on other sites

  • 2 weeks later...

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...