flat assembler
Message board for the users of flat assembler.
![]() |
Author |
|
coconut
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
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
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
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
Quote:
Thanks Vid. I hope I can live up to that. ![]() Dr.X |
|||
![]() |
|
Dr.X
Quote:
I hope I don't pester you too much with my dumb questions. ![]() Dr.X |
|||
![]() |
|
coconut
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
Quote:
If there is no dumb questions, then leave it to me to make a few up. ![]() Dr.X |
|||
![]() |
|
coconut
lol
|
|||
![]() |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2020, Tomasz Grysztar. Also on GitHub, YouTube, Twitter.
Website powered by rwasa.