|
Post by kokovec on Apr 12, 2014 13:58:15 GMT -5
I've been using AS09 for a very long time and have always used lower case opcodes. Today I decided to use upper case opcodes and used the -i switch to have the assembler ignore the case. To my surprise I get "Invalid mnemonic" all over the place. This means even the Chris Salomon BOIS can't be assembled using that switch. Anyone else have this issue? I'm using AS09 version 1.42.
|
|
|
Post by mikiex on Apr 12, 2014 17:22:28 GMT -5
1.42 (as in the version of AS09 that works with 64bit windows) doesn't like uppercase for instructions as far as I know. This is why the zip package also includes a tolowercase tool. So if you are using 1.42 you are stuck with using lowercase I think.
|
|
|
Post by kokovec on Apr 12, 2014 22:18:13 GMT -5
Thanks for the tip. I see the TOLOWER.exe file. Funny thing is it's a 32 bit application and I have to run it in DOSBOX. It's a minor inconvenience though.
|
|
|
Post by Cr30s on Apr 14, 2014 8:46:44 GMT -5
So many thanks guys !
I just started to mess with vectrex programming and it is a pleasure (a chance) to see a topic created 2 days ago that fix my compiling issue.
Cheers.
|
|
|
Post by mikiex on Apr 14, 2014 13:22:05 GMT -5
Welcome Cr30s, ask away here if you have any problems and let us know what your making
|
|
|
Post by kokovec on Apr 14, 2014 16:49:56 GMT -5
|
|
|
Post by mikiex on Apr 14, 2014 18:21:36 GMT -5
Also worth mentioning the AS09.man file that comes with AS09 is the manual file which is just a text file with instructions.... To some people that might be more obvious than to others.
|
|
|
Post by christophertumber on Apr 27, 2014 14:30:41 GMT -5
There are two similarly named MC6809 assemblers. The one I use is AS09 (version 1.11) by Frank A. Vortenbosch. On Win 8 I need to run it in a DOS box but it assembles directly into a BIN file and doesn't mind uppercase. The command line I use is: as09 -w200 -h0 -l -mcti <source file> The latest version of this assembler is 1.42 and is available here: www.kingswood-consulting.co.uk/assemblers/The other assembler (which I don't use) is AS9 by Albert van der Horst. home.hccnet.nl/a.w.m.van.der.horst/m6809.html
|
|
|
Post by mikiex on Apr 27, 2014 16:33:10 GMT -5
There are two similarly named MC6809 assemblers. The one I use is AS09 (version 1.11) by Frank A. Vortenbosch. On Win 8 I need to run it in a DOS box but it assembles directly into a BIN file and doesn't mind uppercase. The command line I use is: as09 -w200 -h0 -l -mcti <source file> The latest version of this assembler is 1.42 and is available here: www.kingswood-consulting.co.uk/assemblers/The other assembler (which I don't use) is AS9 by Albert van der Horst. home.hccnet.nl/a.w.m.van.der.horst/m6809.htmlYes its Franks newer 1.42 that works in 64bit windows but has the lowercase restriction (only for instructions , everything else can be mixed case)
|
|
|
Post by christophertumber on Sept 13, 2014 7:52:49 GMT -5
For P1X3L-pushr Alex Kazik used Alfred Arnold's Macroassembler AS which is available here: john.ccac.rwth-aachen.de:8000/as/index.htmlAn example command line is: as -L -U pushr.asm p2bin pushr.p pushr.bin Pros: - Runs under Windows, with a bunch of other OS's available - Seems to have a bunch of extra compiler features Cons: - Requires changes to local labels in macros (no need to use \? and it's an error if you do) - All direct mode references require 16-bit memory addressing and 8-bit causes an error. So "sta <$00" has to be "sta <$d000". And you need to keep the assembler up to date on the status of the DP with the "assume" assembler instruction. (I find this particularly annoying and while no doubt a good feature for shared code to explicitly track DP use, for me it's just a PITA and no way I'll be converting existing source code). - Assembler creates and obj type file that requires use of a linker - For practical purposes this doesn't make much difference, especially if you use .bat files to assemble but it's an extra thing to go wrong for n00bs.
|
|
|
Post by christophertumber on Sept 13, 2014 8:13:03 GMT -5
Yes its Franks newer 1.42 that works in 64bit windows but has the lowercase restriction (only for instructions , everything else can be mixed case) Just got around to trying 1.42. At first I was all, "feh" due to all the errors. But really, I just needed to search and replace on "EQU", "ORG" and "FCB"/"FCC"/"FDB" and convert them to lowercase. Definitely better than running in DOSBOX so TY!
|
|