flat assembler
Message board for the users of flat assembler.
Index
> Main > flat assembler 1.55 |
Author |
|
Tomasz Grysztar 27 Aug 2004, 21:09
Now available in the Download section.
One small feature with # operator added (see http://board.flatassembler.net/topic.php?t=2094&highlight=55 for details) and documentation got a small update (the macro features added in recent versions are finally documented). Last edited by Tomasz Grysztar on 27 Sep 2004, 12:47; edited 1 time in total |
|||
27 Aug 2004, 21:09 |
|
Tommy 28 Aug 2004, 08:48
Could you show an example of the new "# feature"?
Thanks! |
|||
28 Aug 2004, 08:48 |
|
Tomasz Grysztar 28 Aug 2004, 09:38
It is already used in the updated win32ax includes in fasmw package:
Code: macro allow_nesting { macro pushd arg _% if arg eq else if _##arg eq _invoke arg arg else pushd arg end if %_ macro invoke proc,[arg] _% _common_ allow_nesting _reverse_ pushd <arg> _common_ call [proc] push eax purge pushd purge _invoke %_ } The same thing was previously done with double "fix". For more info see the updated section 2.3.3 of manual. |
|||
28 Aug 2004, 09:38 |
|
Tommy 28 Aug 2004, 10:18
Okey! Thanks! I see!
|
|||
28 Aug 2004, 10:18 |
|
Matrix 08 Sep 2004, 02:25
Hy Privalov,
exe compiled with Fasmw 1.55 smaller than 64 bytes tells : Error executing program, is it a feature? MATRIX |
|||
08 Sep 2004, 02:25 |
|
roticv 08 Sep 2004, 02:39
How did u get the exe to be smaller than 64 bytes with fasm? Can post the code and exe?
|
|||
08 Sep 2004, 02:39 |
|
Matrix 08 Sep 2004, 02:57
roticv wrote: How did u get the exe to be smaller than 64 bytes with fasm? Can post the code and exe? of course, here you are 63 bytes format MZ org 256 mov ax,4c00h int 21h times 26 push es or if u like nop better : format MZ org 256 mov ax,4c00h int 21h times 26 nop if you add 1 more to the times it will be 64 bytes, and the exe will run without problems MATRIX |
|||
08 Sep 2004, 02:57 |
|
roticv 08 Sep 2004, 05:18
It works fine on my XP.
|
|||
08 Sep 2004, 05:18 |
|
Matrix 08 Sep 2004, 05:22
roticv wrote: It works fine on my XP. then it must have been the win98 se MATRIX |
|||
08 Sep 2004, 05:22 |
|
decard 08 Sep 2004, 13:26
It doesn't work on both Win98 and WinME, proably 95 too.
|
|||
08 Sep 2004, 13:26 |
|
Tomasz Grysztar 08 Sep 2004, 13:39
It does work in Win95/98, but only when you start it from the command line window.
|
|||
08 Sep 2004, 13:39 |
|
quiveror 10 Sep 2004, 17:06
I think there's one little mistake in file win32ax.inc as I cant assemble the example below
Code: include '%fasminc%/win32ax.inc' .code start: invoke ExitProcess, \ < \ invoke MessageBox, \ < invoke GetTopWindow,0>, \ "Hi! I'm the example program!", \ "Win32 Assembly", \ < \ invoke MessageBox, \ < invoke GetTopWindow,0>, \ "Hi! There!", \ "I am FIRST", \ MB_OK \ > \ > .end start the original is something like :- Code: macro allow_nesting { ; blah... purge _invoke %_ } include 'win32a.inc' allow_nesting macro invoke proc,[arg] { ; blah... } macro pushd first,[more] { ; blah... } And after I rearrage those code to :- Code: macro allow_nesting { ; blah... purge invoke %_ } include 'win32a.inc' macro pushd first,[more] { ; blah... } allow_nesting macro invoke proc,[arg] { ; blah... } Then everything assemble OK. is this a bug or i probably miss out something |
|||
10 Sep 2004, 17:06 |
|
Tomasz Grysztar 10 Sep 2004, 18:05
You're right, there was a mistake with order during the rearranging of macros.
|
|||
10 Sep 2004, 18:05 |
|
mike.dld 14 Sep 2004, 22:24
Hi, Privalov!
Is there a simple way to include option for defining parameters string to pass to the application when I press F9 (FASMW)? If you don't planning to include this into the official package, please write it here for me (and maybe some others). |
|||
14 Sep 2004, 22:24 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.