flat assembler
Message board for the users of flat assembler.
![]() |
Author |
|
Lan 11 Mar 2025, 05:37
hello.asm Code: format PE GUI entry start include "D:\Program Files (x86)\Fresh\include\win32\win32a.inc" section ".idata" import data readable library kernel, "kernel32.dll" library user, "user32.dll" import kernel, \ ExitProcess, "ExitProcess" import user, \ MessageBoxA, "MessageBoxA" section ".data" data readable writable title db "hello.asm", 0 message db "Hello!", 0 section ".text" code executable readable start: push 0 push title push message push 0 call [MessageBoxA] push eax call [ExitProcess] When I run it, I cannot see the MessageBoxA.
|
|||||||||||
![]() |
|
Hrstka 11 Mar 2025, 08:20
Use library only once. This works for me:
Code: library kernel, "kernel32.dll",\ user, "user32.dll" |
|||
![]() |
|
FoXx 11 Mar 2025, 11:45
in FASM does not appear twice. Why is it declared as MessageBoxA?
|
|||
![]() |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2025, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.