flat assembler
Message board for the users of flat assembler.

Index > Windows > 32bit tutorial

Author
Thread Post new topic Reply to topic
hamoz



Joined: 14 Dec 2006
Posts: 29
hamoz 12 Feb 2007, 11:36
Hello,

I really need tutorial about win32 programming with fasm

(not Iczelion tutorial is just an examples)

thanks alot
Newbie
Post 12 Feb 2007, 11:36
View user's profile Send private message Reply with quote
MichaelH



Joined: 03 May 2005
Posts: 402
MichaelH 12 Feb 2007, 21:55
Our very own sleepsleep translated the the Iczelion tutorial into fasm.

http://sulaiman.netadvant.com/sulaiman.zip

However the best tutorial by far is the search button at the top of this page. Just type what you're looking for and there will more than likely be examples, if not then ask cause there are some really amazing programmers lurking here that should be able to help you.
Post 12 Feb 2007, 21:55
View user's profile Send private message Reply with quote
MichaelH



Joined: 03 May 2005
Posts: 402
MichaelH 12 Feb 2007, 22:21
BTW, a lot of the code you'll find here have far too many macros in them. IMO the .if .while proc and all the other macro nonsense should be extracted and macros only used when an assembler alternative can not be found. I think a lot of people came from masm coding and hence a great deal of the fasm code ends up having horrible macros all over the place. Hence I post a link below to an example posted by Karl (dib.asm), I hope you end up coding this way cause I've seen far too much of the ugly macro type code around.

Don't get me wrong, you can do a lot with fasm's macros but IMO straight assembler code where possible should be the aim, for example why use .if .else when there is assembler cmp and jmp (je jne ja jb ......).


DIB.asm by karl -

http://board.flatassembler.net/topic.php?t=5957&start=20


Last edited by MichaelH on 13 Feb 2007, 07:12; edited 1 time in total
Post 12 Feb 2007, 22:21
View user's profile Send private message Reply with quote
hamoz



Joined: 14 Dec 2006
Posts: 29
hamoz 13 Feb 2007, 02:02
MichaelH , thank you very much Smile
Post 13 Feb 2007, 02:02
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.