flat assembler
Message board for the users of flat assembler.
![]() |
Author |
|
coconut 20 Apr 2004, 05:23
invoke is a macro, to simplify calling the api in stdcall format. the "real" way to do it in assembly would be like below, note the parameters are pushed in reverse
Code: push MB_OK push _caption push _text push [hwnd] call MessageBox while invoke makes it easier to code and read Code: invoke MessageBox,[hwnd],_text,_caption,MB_OK fasm compiling C code? lol.. anyways, practically all win32 api can be converted and used in assembly. you can use the CreateFile, WriteFile, and ReadFile functions to write/read a text file |
|||
![]() |
|
Dr.X 20 Apr 2004, 11:09
Quote:
Oh, ok. So I either learn about macros or just do it long hand in reverse. I'll learn the long way first so I can understand it, then I'll read up on macros. ![]() Quote:
Told ya they were dumb questions ![]() Dr.X |
|||
![]() |
|
vid 20 Apr 2004, 18:21
Quote:
nice approach, i like kind of people like you (reading tutorial slowly and carefully, not using macros to better understanding in price of saving little time), really, you have what it needs to be good asm coder. |
|||
![]() |
|
coconut 20 Apr 2004, 20:55
as long as you remember to push the parameters/arguments in reverse, youll have no problem. any specific help/translations ya need just post here, ill try and help out as much as i can
|
|||
![]() |
|
Dr.X 20 Apr 2004, 22:25
Quote:
Thanks Vid. I hope I can live up to that. ![]() Dr.X |
|||
![]() |
|
Dr.X 20 Apr 2004, 22:26
Quote:
I hope I don't pester you too much with my dumb questions. ![]() Dr.X |
|||
![]() |
|
coconut 21 Apr 2004, 02:40
no question is dumb, look at all my posts here im learning too =]. there are some great minds here willing to help out
|
|||
![]() |
|
Dr.X 21 Apr 2004, 13:12
Quote:
If there is no dumb questions, then leave it to me to make a few up. ![]() Dr.X |
|||
![]() |
|
coconut 21 Apr 2004, 21:07
lol
|
|||
![]() |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2025, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.