flat assembler
Message board for the users of flat assembler.
![]() 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... |
|||
![]() |
|
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
|
|||
![]() |
|
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. |
|||
![]() |
|
gumletis 31 Dec 2004, 12:16
okay, thanks, i will look at that
|
|||
![]() |
|
Goto page Previous 1, 2 < Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2025, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.