flat assembler
Message board for the users of flat assembler.
![]() |
Author |
|
MinhHung 21 Dec 2010, 03:08
Have you see
'entry start' or 'format' in SOURCE\IDE\FASMW\FASM.inc in SOURCE\IDE\FASMW\FASMW.ASM : ->include 'fasm.inc' and it had defined i think it like order include file: system.inc,errors.inc sorry for my english |
|||
![]() |
|
ouadji 21 Dec 2010, 17:47
ok, understood. Code: A) -- proc CompileDialog hwnd_dlg,msg,wparam,lparam ... invoke CreateThread,NULL,10000h,flat_assembler,\ [ei.pszpath],0,param_buffer mov [hthread],eax ;<----- ;----------------------------- B) -- proc CalculatorDialog hwnd,msg,wparam,lparam ... .calculate: mov esi,string_buffer invoke GetDlgItemText,[hwnd],ID_EXPRESSION,esi,400h lea edi,[esi+eax] xor eax,eax ;<----- stosb mov [hthread],eax ;<----- mov [source_start],eax ;============================== assembler_error: cmp [hthread],0 je error_outside_compiler ... |
|||
![]() |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2025, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.