flat assembler
Message board for the users of flat assembler.
Index
> Main > pointer or what? Goto page Previous 1, 2 |
Author |
|
JohnFound 31 Dec 2004, 10:47
Code: invoke MessageBox, 0, state, state, MB_OK Use code tags for code you post... there are buttons in the post screen... |
|||
31 Dec 2004, 10:47 |
|
gumletis 31 Dec 2004, 11:46
?? don't get that, ps i wanna do the api with eax register, or some other register, its the problem, it wont let me do it, just crashh
|
|||
31 Dec 2004, 11:46 |
|
JohnFound 31 Dec 2004, 12:14
gumletis wrote: ?? don't get that, ps i wanna do the api with eax register, or some other register, its the problem, it wont let me do it, just crashh Variant 1: Code: mov eax, state invoke MessageBox, 0, eax, eax, MB_OK Variant 2: Code: lea eax, [state] invoke MessageBox, 0, eax, eax, MB_OK Listen, do you really understant what is register and what is memory and what are the base assembly concepts? If no, please find some beginers tutorials and read them. Vid's tutorial is pretty fine for beginers and it is written for FASM syntax. You can find it here: http://decard.net/?body=docs You must understand some fundamental things before working with API. Regards. |
|||
31 Dec 2004, 12:14 |
|
gumletis 31 Dec 2004, 12:16
okay, thanks, i will look at that
|
|||
31 Dec 2004, 12:16 |
|
Goto page Previous 1, 2 < Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.