![]() |
![]() |
#21 | |
son of 68k
Join Date: Nov 2007
Location: Lyon / France
Age: 51
Posts: 5,359
|
Quote:
![]() But does it work properly now ? Also, does it support __CPU define ? 1.3c didn't and it's useful to make adaptative code. |
|
![]() |
![]() |
#22 | |||
Natteravn
Join Date: Nov 2009
Location: Herford / Germany
Posts: 2,552
|
Quote:
Quote:
Quote:
![]() |
|||
![]() |
![]() |
#23 |
son of 68k
Join Date: Nov 2007
Location: Lyon / France
Age: 51
Posts: 5,359
|
I'm eager to test V1.5 then !
Can't you make (pre-)1.5 binaries available for testing ? |
![]() |
![]() |
#24 |
Natteravn
Join Date: Nov 2009
Location: Herford / Germany
Posts: 2,552
|
I have just committed my modifications since yesterday morning. Now every optimization has got its own flag, which should fix the problem which Leffmann described. This created the following new features:
- Full and exact Devpac3 optimization support - Devpac OPT O3 .. O12 is supported - New optimization: <op>.L #x,An --> <op>.W #x,An (O12) - New optimization: LEA (d,An),An --> ADDQ/SUBQ #d,An (O11) And it creates the PhxAss-specific __CPU, __FPU and __MMU symbols, which Meynaf suggested. The next daily snapshot will be automatically created during the following night and it available tomorrow morning under: http://sun.hasenbraten.de/vasm/daily/vasm.tar.gz Testing this beta version and reporting problems (preferably by email) is much appreciated. ![]() |
![]() |
![]() |
#25 |
son of 68k
Join Date: Nov 2007
Location: Lyon / France
Age: 51
Posts: 5,359
|
This is source release only. I'll see if i can compile that, but including an AOS executable would be good for me
![]() Anyway i tested v1.4f binary and here is my report (from just uperficial testing) : . found no equivalent to phxoptions . i've found no command line option to prevent symbols from being present in the object file (only way is to write "opt d-" in source) . file a.out is written by default ; no option in a config file to make it output myprog from myprog.s, like phxass does (or i didn't find it) . phxass is able to turn tst.x myvar into tst.x myvar(pc) when in 020+ mode ; vasm isn't (at least by default) . when an error is found, phxass wrote the offending line's contents with the error message, but vasm doesn't and this is painful . 9 macro arguments are too few ; phxass supported many more and it would be clever to keep it this way (at least in phxass mode) . phxass report saying pass 1, pass 2, # of symbols, sections lengths... was much more practical than just outputting the name of used modules . vasm rejects accentuated characters in symbols ; phxass accepted them - besides, "illegal characters in label" would speak more than "illegal operand types" . vasm locks input source files while processing, phxass didn't and it allowed to write the source back while the previous version is assembling (this may seem a detail, but i often do that when fixing errors) . bss_c directive leads to "unknown mnemonic" ; this worked fine on phxass |
![]() |
![]() |
#26 | ||||||||||||
Natteravn
Join Date: Nov 2009
Location: Herford / Germany
Posts: 2,552
|
Quote:
Quote:
I don't think I will support that in vasm. Quote:
Maybe you didn't find the option in the docs, because it is under general assembler options, not M68k-specific? Quote:
Quote:
Quote:
It could be done with some effort, but I doubt that it is worth that. You will have to enter the editor and look at the reported line number anyway. Quote:
But ok, I made that as confusing as in PhxAss now (-phxass only). ![]() Quote:
If you want some more information about vasm's output, let it generate an output file in "test" mode (without any -F option) and look into it. vasm also supports listing files. Quote:
You cannot use accents in C variables either. Quote:
I agree some error messages could be more friendly, but that is not a priority for V1.5. Quote:
Quote:
|
||||||||||||
![]() |
![]() |
#27 | |||||||
son of 68k
Join Date: Nov 2007
Location: Lyon / France
Age: 51
Posts: 5,359
|
Quote:
Quote:
On the other hand, these .texi aren't as easy to use as the good old amigaguide doc... Quote:
![]() Quote:
Imagine you have several undefined symbols. With the output line you see what they are and when the same one comes twice you don't waste your time in looking twice in the source. For me this option is an absolute necessity and i will not use any asm which doesn't have it. Quote:
![]() Good thing you have an option to disable them now. Quote:
Quote:
![]() Yes, some messages could be more friendly. Even though it's not a priority, this kind of information may be more difficult to add later so if i were you i'd take care of that now. |
|||||||
![]() |
![]() |
#28 |
Banned
Join Date: Jan 2010
Location: Kansas
Posts: 1,284
|
@meynaf
It is possible to make a script (AmigaDOS or ARexx) for vasm that has the CLI options you want. I use an ARexx script for CED to assemble with basic options. It's in this archive along with a version of vasm I compiled from yesterday's sources... http://www.heywheel.com/matthey/Amiga/vasm.lha I prefer to put most options in the .asm file itself. That way I always know what options I assembled with for that .asm file. If I distribute the file then they know too. It might be nice to have a GUI to select and add the options to the beginning of the assembler file and a fancy editor that goes to the line of an error but we might have to wait for vasm 3 or 4 for that ![]() The message I don't like is "abs.l -> abs.w" which I would prefer to be "(xxx).l -> (xxx).w". I think of an absolute value function (Natami may get integer abs) when I see this optimization message. The (xxx).size representation is used in the Programmer's Reference Manuals. I do prefer the lower case though as it's easier to read but it's not to the Motorola/Freescale standard. Last edited by matthey; 12 November 2010 at 04:09. |
![]() |
![]() |
#29 | ||
Natteravn
Join Date: Nov 2009
Location: Herford / Germany
Posts: 2,552
|
Quote:
But I won't indicate the exact error position in such a line! ![]() Quote:
|
||
![]() |
![]() |
#30 | ||||
son of 68k
Join Date: Nov 2007
Location: Lyon / France
Age: 51
Posts: 5,359
|
Quote:
But this is giving me an idea. Perhaps a wrapper program will do the trick ![]() Quote:
Quote:
Quote:
![]() |
||||
![]() |
![]() |
#31 |
Join Date: Jul 2008
Location: Sweden
Posts: 2,269
|
Just want to say that phx released vasm 1.5 and vlink 0.13 a week ago, since he forgot to mention it himself here. Great update, thanks a lot!
|
![]() |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
EAB Linux RFC | gilgamesh | request.Other | 16 | 25 April 2014 04:19 |
vasm and word alignment | Den | Coders. Asm / Hardware | 9 | 07 February 2014 11:25 |
Help linking VASM object code | clenched | Coders. Asm / Hardware | 2 | 24 May 2013 22:32 |
vasm fsincos | dalton | Coders. Asm / Hardware | 4 | 03 September 2012 10:35 |
RFC: SPS/CAPS @ back2roots ? | hippie2000 | project.SPS (was CAPS) | 29 | 06 November 2007 23:25 |
|
|