flat assembler
Message board for the users of flat assembler.
 Home   FAQ   Search   Register 
 Profile   Log in to check your private messages   Log in 
flat assembler > Macroinstructions > assume macro - error: invalid macro arguments

Author
Thread Post new topic Reply to topic
Mike Gonta



Joined: 26 Dec 2010
Posts: 125
assume macro - error: invalid macro arguments
The assume macro doesn't like comma separated data statements.
Example:

Code:
struct x
  y db 01
ends


Suggested fix in MASM.INC
Original:

Code:
macro def@assumed reg,name,def
 { match varsreg#@assumed \{ reg#@assumed equ reg#@assumed, \}
...

Fix:

Code:
macro def@assumed reg,name,[def]
 {
common
 match varsreg#@assumed \{ reg#@assumed equ reg#@assumed, \}
...

Post 12 Jul 2012, 07:53
View user's profile Send private message Reply with quote
Tomasz Grysztar
Assembly Artist


Joined: 16 Jun 2003
Posts: 5495
Location: Kraków, Poland
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 cannot download files in this forum


Powered by phpBB © 2001-2005 phpBB Group.

Main index   Download   Documentation   Examples   Message board
Copyright © 2004-2013, Tomasz Grysztar.