flat assembler
Message board for the users of flat assembler.
![]() Goto page 1, 2 Next |
Author |
|
Vortex
Hi friends,
Here is the the latest release of my tool inc2inc V1.04. The converter translates Masm include files to Fasm style function declarations. Note that to avoid duplicate code sections, the text section should be declared as: Code:
section '.text' code readable executable
The attachment includes a Win32 GUI template from Privalov and a console example which uses Hutch's masm32 static library. The feature of this release is that it uses modified stdcall and cinvoke macros to allow indirect function calls.
_________________ Code it... That's all... |
|||||||||||
![]() |
|
Yawgmoth
Have you thought of extending the program to convert ALL masm files to fasm?
|
|||
![]() |
|
HarryTuttle
Hi Vortex!
this is a great work. keep it cool! Master! Harry _________________ Microsoft: brings power of yesterday to computers of today. |
|||
![]() |
|
Yawgmoth
Vortex, I don't follow your logic. Wouldn't converting masm files to fasm be easier WITH a tool than doing by hand?
|
|||
![]() |
|
silkodyssey
Yawgmoth,
What do you mean by all masm files? Do you mean only the structures and equates in addition to the function prototypes or would the tool need to convert code also? _________________ silkodyssey |
|||
![]() |
|
Vortex
Yawgmoth,
Same question, what do you mean with converting all Masm files? _________________ Code it... That's all... |
|||
![]() |
|
Yawgmoth
I mean converting assemby files written in masm syntax into assembly files written is fasm syntax, so that you could get some masm source code, run it thru the program, and then compile the file in fasm with no other modifications.
|
|||
![]() |
|
silkodyssey
That would be a lot of work because masm is a huge language
![]() _________________ silkodyssey |
|||
![]() |
|
HarryTuttle
language like language ,always assembly but the MASM's syntax is more complicated for those people who always have been using FASM...like me;)
_________________ Microsoft: brings power of yesterday to computers of today. |
|||
![]() |
|
silkodyssey
Masm has a lot of features that the other assemblers don't. With the effort required to create a tool to convert masm code to fasm code, vortex could write his own assembler
![]() _________________ silkodyssey |
|||
![]() |
|
fasm9
Fighting! Vortex
![]() GO! GO! FASM ![]() -- i want c# compiler written in fasm :O |
|||
![]() |
|
HarryTuttle
maybe you are right and vortex could write the new assembler with all MASM and FASM features....
maybe it is less complicated than full syntax converter... but 4 me it is better to write pure asm code with FASM instead of almost like C MASM constructions .... regards Harry _________________ Microsoft: brings power of yesterday to computers of today. |
|||
![]() |
|
silkodyssey
What would be nice is a more high level version of fasm with built in high level control structures like masm (.if and friends ).
![]() _________________ silkodyssey |
|||
![]() |
|
Vortex
silkodyssey,that's a nice idea.
_________________ Code it... That's all... |
|||
![]() |
|
Vortex
Version 1.05
This new version declares external functions with the extrndef macro: Code: extrndef '_MessageBoxA@16',MessageBox Code: macro extrndef decorated_name,name { if used name extrn decorated_name as name : dword end if }
_________________ Code it... That's all... |
|||||||||||
![]() |
|
Vortex
Hi friends,
Examples, macro files stdcall.inc + cdecl.inc revised to work with Fasm V1.52
_________________ Code it... That's all... |
|||||||||||
![]() |
|
vid
silkodyssey - why do you want these features built-in?
Aren't macros enough? |
|||
![]() |
|
silkodyssey
Quote:
I don't know what I was thinking then ![]() _________________ silkodyssey |
|||
![]() |
|
Vortex
Version 1.06
======== - No need anymore to use modified stdcall.inc and cdecl.inc - Examples assembled with Fasm 1.63.6
_________________ Code it... That's all... |
|||||||||||
![]() |
|
Goto page 1, 2 Next < Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2020, Tomasz Grysztar. Also on GitHub, YouTube, Twitter.
Website powered by rwasa.