flat assembler
Message board for the users of flat assembler.

Index > Main > Need information

Author
Thread Post new topic Reply to topic
InsightSoft



Joined: 01 May 2009
Posts: 4
InsightSoft 01 May 2009, 17:09
Where is the basic information?????

How to use procedure in FASM???
Where I can get the basic bones os FLAT exemples????
Post 01 May 2009, 17:09
View user's profile Send private message MSN Messenger Reply with quote
revolution
When all else fails, read the source


Joined: 24 Aug 2004
Posts: 20309
Location: In your JS exploiting you and your system
revolution 01 May 2009, 17:16
There is an "examples" folder in the download zip file.
Post 01 May 2009, 17:16
View user's profile Send private message Visit poster's website Reply with quote
InsightSoft



Joined: 01 May 2009
Posts: 4
InsightSoft 01 May 2009, 17:21
But Is not enough...

I can not take a simple example that explain me how to use the procedures...

proc myproc (error)

endp

return as illegal instruction
Post 01 May 2009, 17:21
View user's profile Send private message MSN Messenger Reply with quote
revolution
When all else fails, read the source


Joined: 24 Aug 2004
Posts: 20309
Location: In your JS exploiting you and your system
revolution 01 May 2009, 17:29
The manual explains the windows macros (like proc and struct). But the macros are not the "basic bones" that you mention above. This is high level macros.
Post 01 May 2009, 17:29
View user's profile Send private message Visit poster's website Reply with quote
InsightSoft



Joined: 01 May 2009
Posts: 4
InsightSoft 01 May 2009, 17:44
What Im looking for is the book where is mention sections code, data, procedures and so on...
with small examples...

Can you tell me how to use procedures?
(Im not programming for windows!)

proc myproc (error)

endp
---why it returns as error????
Post 01 May 2009, 17:44
View user's profile Send private message MSN Messenger Reply with quote
revolution
When all else fails, read the source


Joined: 24 Aug 2004
Posts: 20309
Location: In your JS exploiting you and your system
revolution 01 May 2009, 17:48
proc is not an assembly instruction. It is a high level macro. Instead:
Code:
myfunction:
  ;some code
  mov eax,0
  ret    
Post 01 May 2009, 17:48
View user's profile Send private message Visit poster's website Reply with quote
InsightSoft



Joined: 01 May 2009
Posts: 4
InsightSoft 01 May 2009, 18:24
Ok. thanks...
Post 01 May 2009, 18:24
View user's profile Send private message MSN Messenger 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.