flat assembler
Message board for the users of flat assembler.
Index
> DOS > MASM/ArrowSoft Asm to FASM conversion |
Author |
|
RicardoFco 15 Apr 2009, 16:47
How I can translate sources for MASM/ArrowSoft Asm to FASM?
EDIT by DOS386 : corrected subject to match post content |
|||
15 Apr 2009, 16:47 |
|
rugxulo 15 Apr 2009, 18:00
Why do you want to? Do you absolutely need to use FASM?
JWasm is intended to be MASM v6 compatible (or v5 if you use -Zm): http://www.japheth.de/JWasm.html I'm not saying it isn't possible with some macros for FASM, but you'll have to be more specific which parts you want to translate. P.S. FASM does not support OMF/OBJ. |
|||
15 Apr 2009, 18:00 |
|
RicardoFco 15 Apr 2009, 19:00
Yes , I absolutely need to use FASM.
I have the files MASM.exe and LINK.exe but I prefer to use FASM. I want to translate the files created with BASM286 (Basic2MSAsm translator by Kevin Diggins, you can found it at the bottom of this page http://www.bcxgurus.com/ ) |
|||
15 Apr 2009, 19:00 |
|
RicardoFco 20 Apr 2009, 16:21
No Answers?
|
|||
20 Apr 2009, 16:21 |
|
pelaillo 27 Apr 2009, 13:49
I have done large translations of masm code to fasm and I find it easy to take the disassembled dump from Ollydbg (in IDEAL mode) and then paired it with the sources in a spreadsheet in order to recover labels and variable names. It also have the advantages of get rid of those high level constructions that I dislike and to get some optimizations that the assembler does.
Unfortunately, this process is not suitable for automation. Using this approach, it's about 2 hours per 1000 lines of masm code (depending on the quality of masm sources) |
|||
27 Apr 2009, 13:49 |
|
RicardoFco 29 Apr 2009, 21:43
Thanks for the answers.
I think that the best solution is translate the code templates of BASM286 from MASM to FASM and compile again the Compiler/Translator again. |
|||
29 Apr 2009, 21:43 |
|
rugxulo 02 May 2009, 09:35
Besides just wanting it, why would you need to use FASM here? I'm not just whining or picking on you, it's just that FASM isn't really intended to be 100% MASM compatible and especially doesn't support 16-bit OBJ linkable output. Besides, if you want a 386+ BASIC, try FreeBASIC, it's probably easier to use!
|
|||
02 May 2009, 09:35 |
|
revolution 02 May 2009, 09:41
There is nothing like the right tool for the right job.
And this is nothing like the right tool for the right job. |
|||
02 May 2009, 09:41 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2025, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.