flat assembler
Message board for the users of flat assembler.

Index > Main > Macro instructions from fasm.txt

Author
Thread Post new topic Reply to topic
gorshing



Joined: 27 Jul 2003
Posts: 72
Location: Okla, US
gorshing 20 Dec 2003, 15:16
I'm reading about macros in fasm.txt

Code:
macro strtbl name,[string]
{
 common
   label name dword
 forward
   local label
   dd label
 forward
   label db string,0
}
    


I understand what the command and forward are doing, but I'm not too clear on what gets assembled. Could somebody reword this or show what the assembly code would be? Thanks

_________________
gorshing
Post 20 Dec 2003, 15:16
View user's profile Send private message Visit poster's website Reply with quote
Tomasz Grysztar



Joined: 16 Jun 2003
Posts: 8358
Location: Kraków, Poland
Tomasz Grysztar 20 Dec 2003, 15:36
You can try to use this modification of fasm: http://board.flatassembler.net/topic.php?t=633#4542
to see what code is generated by preprocessor.
Post 20 Dec 2003, 15:36
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-2025, Tomasz Grysztar. Also on GitHub, YouTube.

Website powered by rwasa.