flat assembler
Message board for the users of flat assembler.

Index > Macroinstructions > [Help]Macro reference?

Author
Thread Post new topic Reply to topic
rohagymeg



Joined: 19 Aug 2011
Posts: 77
rohagymeg 21 Aug 2011, 19:17
Ok, I read the macro "tutorial" on http://flatassembler.net/docs.php?article=ufasm

But this is obviously not enough information for me to know all the possibilities a macro can do. Those of you who mastered macro programming how did you go about learning it? I could ask at least 10 questions in a row...

The more I search the more undocumented directives I find!!! How many are there atm? Where can I find ALL the native commands that I can use in a macro (besides the other macros)???
Post 21 Aug 2011, 19:17
View user's profile Send private message Reply with quote
revolution
When all else fails, read the source


Joined: 24 Aug 2004
Posts: 20299
Location: In your JS exploiting you and your system
revolution 21 Aug 2011, 20:36
rohagymeg wrote:
The more I search the more undocumented directives I find!!! How many are there atm?
I think they are all documented.
rohagymeg wrote:
Where can I find ALL the native commands that I can use in a macro (besides the other macros)???
TABLES.INC (in the source code) wrote:
Code:
preprocessor_directives:
 db 6,'define'
 dw define_symbolic_constant-directive_handler
 db 7,'include'
 dw include_file-directive_handler
 db 3,'irp'
 dw irp_directive-directive_handler
 db 4,'irps'
 dw irps_directive-directive_handler
 db 5,'macro'
 dw define_macro-directive_handler
 db 5,'match'
 dw match_directive-directive_handler
 db 5,'purge'
 dw purge_macro-directive_handler
 db 4,'rept'
 dw rept_directive-directive_handler
 db 7,'restore'
 dw restore_equ_constant-directive_handler
 db 7,'restruc'
 dw purge_struc-directive_handler
 db 5,'struc'
 dw define_struc-directive_handler
 db 0    
Post 21 Aug 2011, 20:36
View user's profile Send private message Visit poster's website Reply with quote
rohagymeg



Joined: 19 Aug 2011
Posts: 77
rohagymeg 21 Aug 2011, 20:47
Thank you revolution!
Now it's more clear because I can make difference between macro and directive! That's what I needed! Forgive my ignorance.
Post 21 Aug 2011, 20:47
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-2024, Tomasz Grysztar. Also on GitHub, YouTube.

Website powered by rwasa.