flat assembler
Message board for the users of flat assembler.
![]() Goto page Previous 1, 2, 3, 4, 5 Next |
Author |
|
vid
Japheth: i was trying to assemble it with MazeGen on his machine, during our way to (or from?) Krakow. No idea which version it was. Maybe we just messed something. Good info for MASM users than, thanks!
btw, did you have to turn on some optimization flags for this? |
|||
![]() |
|
Japheth
Hi vid,
> btw, did you have to turn on some optimization flags for this? No. There are no such flags in MASM. |
|||
![]() |
|
MazeGen
Japheth, I don't think we can use v6.15 seriously in this comparison since it is outdated (even though widely used along with 6.14).
As for MASM v8.00.50727.42, these codes generate the following results. I thing it is clear where is the difference: Code: .686 .MODEL FLAT, STDCALL 00000000 .CODE 00000000 Start: 00000000 E9 00000081 @@: jmp @f 00000005 0000007C [ db 124 dup(?) 00 ] 00000081 E9 FFFFFF7A jmp @b 00000086 @@: END Start Code: .686 .MODEL FLAT, STDCALL 00000000 .CODE 00000000 Start: 00000000 EB 7E @@: jmp short @f 00000002 0000007C [ db 124 dup(?) 00 ] 0000007E EB 80 jmp short @b 00000080 @@: END Start |
|||
![]() |
|
Japheth
Hi MazeGen
> As for MASM v8.00.50727.42, I see now, the problem occurs if code segment is 32-bit, it is independant from the MASM version. |
|||
![]() |
|
vid
allright... new version in first post. I won't add new criterias, until these are finished. So here is what i need.
Also, i changed "output formats" only to formats that can be directly outputted by assembler. I don't include formats they are linked to anymore. - find out exact EULAs of MASM, from various sources. - does MASM support input in other format tahn pure text? (eg UTF-8, unicode...) - what are MASM's debug formats? (including old DOS ones) - when was NASM project started? - does NASM support input in other format tahn pure text? (eg UTF-8, - has YASM support for shared ELF format? - does YASM have listing? - info about RosAsm... betov? - info about GoAsm... jeremy? PS: if you find something you consider not objective, please report. |
|||
![]() |
|
rugxulo
Last edited by rugxulo on 21 Nov 2006, 14:59; edited 1 time in total |
|||
![]() |
|
rugxulo
BTW, vid, here's some minor corrections to CMPASM.TXT:
|
|||
![]() |
|
vid
thanks.
btw, 8 months is not far from dead for me. also last normal release is 4 years old ! |
|||
![]() |
|
Japheth
> # OpenWatcom (compiler, at least) outputs DWARF debug info by default
> (other formats supported: CodeView, Watcom) ... but debugging DOS > programs on XP won't work (debugger is buggy, ha!, needs pure DOS for > debugging DOS programs) No. Indeed it works ok. But you must use "remote" debugging, which in this context just means you have to use 2 "DOS boxes". Example: 1. DOS box: C:\>vdmserv 2. DOS box: C:\>wd /tr=vdm <name of debuggee> However, the OW GUI debugger (WDW) should be avoided to debug DOS apps. |
|||
![]() |
|
rugxulo
Japheth, you are correct, I just didn't understand all that mumbo-jumbo about remote debugging (mistakenly though I needed another cpu).
Quote:
The above works using the old non-default Watcom debug format but using default DWARF format crashes the debugger and using Codeview doesn't show symbolic info (e.g., labels). Maybe I did it wrong, though. ![]() Tested on Win XP Home SP2. |
|||
![]() |
|
rugxulo
EDIT: This info is old, so just visit OpenWatcom's official site instead.
BTW, just to combine all the info from various other posts of mine (sorry if it's messy, I tried, really I did ...):
Last edited by rugxulo on 05 Dec 2007, 14:24; edited 7 times in total |
|||
![]() |
|
rugxulo
Also, the following assemblers support listings (.LST): MASM, TASM, A86/A386, Arrowsoft, Wolfware (WASM.COM), NASM, YASM, Lazy (LZASM), NewBasic (NBASM/NBASM32), and FASM (via optional patch).
vid, I recommend that you also focus on Lazy (LZASM), OpenWatcom (WASM.EXE), and Octasm since they are still supported/updated, run on multiple OSes (DOS, Win32, other), and are aware of MMX, SSE, etc. instructions. (I understand you are limited in time, but they are worthy of further scrutiny). |
|||
![]() |
|
Maverick
I used and appreciated++ Watcom in the DOS times, then when I migrated to Windows, I slowly but then definitely abandoned it for VisualC (although I wasn't exactly happy about it at first).
Now that Watcom's development has been restarted and went considerably ahead, what would be the advantages of OpenWatcom vs VC2005 Express? Expecially in terms of code generation, optimizations, C++ ISO compliance, etc.. Would it make any sense to migrate back to it? |
|||
![]() |
|
vid
rugxulo: you are right i should add Lazy. Not sure yet about OpenWatcom and Octasm. But i am *very* limited on time now, so i may add them later. I just can't take too much on one hit. Maybe if authors would cooperate and fill in information for me (you know the criteria), i will add it.
|
|||
![]() |
|
rugxulo
Maverick, since OpenWatcom is open source now, it should only get better, especially if people use it and report bugs/patches/etc. As far as whether it's worthwhile, I'd say yes, but then again, I don't use it exclusively. (You're allowed to use more than one compiler, ya know.)
![]() P.S. Read the changes from recent versions, if you're curious (provides some nifty info). |
|||
![]() |
|
rugxulo
|
|||
![]() |
|
vid
rugxulo: i already have it in document, but in version that isn't uploaded yet.
|
|||
![]() |
|
Japheth
> Japheth, you recommend POASM instead, no?
Since development of PoASM seems to have stopped and source is closed, no! > since OpenWatcom is open source now, it should only get better This most likely is true for the 32-bit C/C++ compiler, which are good tools, but the other OW stuff is well below that quality level, including WASM. |
|||
![]() |
|
f0dder
Apart from the ml.exe license, don't forget this further restriction imposed on you by the MASM32 license, if you use any of that mess:
grumpyoldfart wrote:
|
|||
![]() |
|
Goto page Previous 1, 2, 3, 4, 5 Next < Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2020, Tomasz Grysztar. Also on GitHub, YouTube, Twitter.
Website powered by rwasa.