flat assembler
Message board for the users of flat assembler.

Index > Macroinstructions > using macro 'addr' more than once in a single invoke

Author
Thread Post new topic Reply to topic
madmatt



Joined: 07 Oct 2003
Posts: 1045
Location: Michigan, USA
madmatt
Is it possible to make the macro 'addr' properly code the use of more than one variable? example:

Code:
invoke  wsprintf, addr sizeBuffer, fMtStrinG, addr wfd.nFileSizeLow
    
Post 18 Oct 2005, 09:22
View user's profile Send private message Reply with quote
Tomasz Grysztar
Assembly Artist


Joined: 16 Jun 2003
Posts: 7724
Location: Kraków, Poland
Tomasz Grysztar
Doesn't it work for you? Perhaps you mean wvsprintf, not wsprintf here?
Post 18 Oct 2005, 09:49
View user's profile Send private message Visit poster's website Reply with quote
madmatt



Joined: 07 Oct 2003
Posts: 1045
Location: Michigan, USA
madmatt
Sorry I think I know what the problem was, i was using "addr [sizeBuffer]" and that was causing the problem. Sorry for the false alarm. Rolling Eyes
Post 18 Oct 2005, 17:00
View user's profile Send private message 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.

Powered by rwasa.