flat assembler
Message board for the users of flat assembler.

Index > Compiler Internals > Prototype procedures, Functions and Macros

Author
Thread Post new topic Reply to topic
Figuig



Joined: 30 Jul 2007
Posts: 7
Figuig 02 Aug 2007, 20:51
Hi everybody,

I didn't see in Flat Assember how to declare a Prototype.

Can someone tell if it exists or not.

Thanks.
Post 02 Aug 2007, 20:51
View user's profile Send private message Reply with quote
vid
Verbosity in development


Joined: 05 Sep 2003
Posts: 7105
Location: Slovakia
vid 02 Aug 2007, 22:26
simple: you don't. FASM is lowlevel assembler, and it doesn't have anything like "procedure" natively. Procedures are implemented by macros, and FASM doesn't have any type checking at all.

To declare external dependency, when you are compiling to .obj file, you use "extrn". But usually people compile directly to PE executable in FASM, without any linking.
Post 02 Aug 2007, 22:26
View user's profile Send private message Visit poster's website AIM Address MSN Messenger ICQ Number 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.