Ich möchte gerne meine Adresse, wo sich mein Text befindet in eax laden. Ich bekomme einen Syntax Fehler. Wo ist das Problem? Danke im Vorraus
Code
- ; -------------------------------------------------------------------------;Mein erstes MASM Programm
- ; -------------------------------------------------------------------------
- .386
- .MODEL flat,stdcall
- option casemap:none
- INCLUDE c:\masm32\include\windows.inc
- INCLUDE c:\masm32\include\user32.inc
- INCLUDE c:\masm32\include\kernel32.inc
- INCLUDELIB c:\masm32\lib\user32.lib
- INCLUDELIB c:\masm32\lib\kernel32.lib
- .data
- Text1 db "Meine erste MASM MessageBox", 0
- Text db "Mein erster MASM Text", 0
- ; -------------------------------------------------------------------------
- .code
- start:
- mov eax, [Text]
- invoke MessageBoxA, 0, eax, addr Text1, 0
- invoke ExitProcess, 0
- end start
- ; -------------------------------------------------------------------------
- ;Ende
- ; -------------------------------------------------------------------------