Message board for the users of flat assembler.
> Windows > Problem building the .exe
Probably bit of a noob question, but,
tried creating a .exe in a cmd window on Windows 8.1 using:
FASMW test.acm test.exe
It's not building the .exe.
The code is this, whic I hope works(? 8¬/)
mov al,60h ; get byte from base address of keyboard port and store it in al
Could you help me?
|12 Apr 2015, 15:37||
You should use "FASM" executable. "FASMW" is the integrated development environment, as far as I know.
I apologize for any inconveniences I may have caused.
|12 Apr 2015, 15:43||
Dally: Please take a look at the examples folder in the fasm download to see how to build programs with fasm. Here is the "hello.asm" for windows:
; example of simplified Windows programming using complex macro features include 'win32ax.inc' ; you can simply switch between win32ax, win32wx, win64ax and win64wx here .code start: invoke MessageBox,HWND_DESKTOP,"Hi! I'm the example program!",invoke GetCommandLine,MB_OK invoke ExitProcess,0 .end start
|13 Apr 2015, 06:17||
< Last Thread | Next Thread >
Copyright © 1999-2020, Tomasz Grysztar. Also on YouTube, Twitter.
Website powered by rwasa.