flat assembler
Message board for the users of flat assembler.

Index > Macroinstructions > assume macro - error: invalid macro arguments

Author
Thread Post new topic Reply to topic
Mike Gonta



Joined: 26 Dec 2010
Posts: 240
Location: the-ideom
Mike Gonta
The assume macro doesn't like comma separated data statements.
Example:
Code:
struct x
  y db 0, 1
ends    

Suggested fix in MASM.INC
Original:
Code:
macro def@assumed reg,name,def
 { match vars, reg#@assumed \{ reg#@assumed equ reg#@assumed, \}
...    
Fix:
Code:
macro def@assumed reg,name,[def]
 {
common
 match vars, reg#@assumed \{ reg#@assumed equ reg#@assumed, \}
...    

_________________
Mike Gonta
the-ideom - now you know how to compile

https://mikegonta.com
Post 12 Jul 2012, 07:53
View user's profile Send private message Visit poster's website Reply with quote
Tomasz Grysztar



Joined: 16 Jun 2003
Posts: 7796
Location: Kraków, Poland
Tomasz Grysztar
Today's update in 1.71.03 package fixes this bug.
Post 27 Sep 2012, 14:09
View user's profile Send private message Visit poster's website Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  


< Last Thread | Next Thread >
Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Copyright © 1999-2020, Tomasz Grysztar. Also on GitHub, YouTube, Twitter.

Website powered by rwasa.