6502.org Forum  Projects  Code  Documents  Tools  Forum
It is currently Sat Apr 27, 2024 1:38 pm

All times are UTC




Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 3 posts ] 
Author Message
PostPosted: Fri Dec 21, 2001 1:54 pm 
I'm looking for a good assembler for the 65C02. The only problem is that I need it to output in .hex for programming. And shareware or freeware would be good too :).

So far, I've looked at a bunch of the ones that show up on a google search, but most of them are machine specific (C64, NES...etc) or don't output a .hex file as an option.

Thanks in advance

Tony


Report this post
Top
  
Reply with quote  
PostPosted: Sat Dec 22, 2001 4:30 am 
Offline
User avatar

Joined: Fri Aug 30, 2002 1:09 am
Posts: 8428
Location: Southern California
I've used both the 2500AD assembler and the Universal Cross-Assemblers C32 assember. Both run on PCs and put out .hex files with a choice of formats, .err (error) files, and .lst (list) files. Both allow extensive use of macros, which are essential for structured, readable assembly programming that doesn't leave you lost in your own maze with too many bugs to ever find your way out. Both allow really, really long names for labels, variables, constants, etc..

The C32 was less expensive at about $195, but is good for dozens of different processors, so you don't have to buy more than one assembler. This means you can use the same assembler for 65c02 and 65816, plus any other processors you use, simply by using different instruction-table files (like 65816.tbl). It also allows you to make up your own instruction set if you have a processor that it doesn't already cover, or if you want to add new instructions and op codes to an older processor that didn't have them at the time the assembler software was done.

Both assemblers allow multiple source files which can be nested several levels deep. The 2500AD adds linking and libraries. The 2500AD is generally better, but the C32 was able to do a couple of things I wanted that 2500AD couldn't do, like a bit-wise OR of a couple of values and put the result in the operand for an LDA#, for example. The C32 has a couple of minor bugs which may have been fixed since I bought mine. One is that if there's a comma in a quoted string in the list of macro input parameters, it forgets that it's inside the quoted string and thinks that the comma is the delimiter to the next macro input parameter. A nice feature of the 2500AD is that you don't have to provide an input for every macro input parameter. For a simple example, this is nice if you want to use a single program line to zero-out a bunch of variables without being locked into an exact number of variables that the macro wants to handle each time.

I know there are several other good 65-family assemblers, and Western Design Center's website can direct you to them; but the two mentioned here are the ones I have plenty of experience with. I would not hesitate to recommend either one. They will seem absolutely wonderful to anyone who has only worked with the very limited assemblers that ran on things like the C64 and Apple II. It's a night-and-day difference. I can't begin to do it justice here in a few paragraphs. Unfortunately, the price of most good assemblers seems to be what keeps a lot of people on this list from ever doing any serious programming. I, too, would be delighted to find such a good shareware or freeware assembler.

If you have more questions about the details of these assemblers, I don't mind if you E-mail me directly.

Garth

_________________
http://WilsonMinesCo.com/ lots of 6502 resources
The "second front page" is http://wilsonminesco.com/links.html .
What's an additional VIA among friends, anyhow?


Report this post
Top
 Profile  
Reply with quote  
PostPosted: Sun Dec 23, 2001 10:22 am 
Offline

Joined: Thu Jul 24, 2003 8:01 pm
Posts: 24
The Telemark Cross assembler (TASM) will output both Intel and Motorola hex formats.

See www.halcyon.com/squakvly/

Paul R. Santa-Maria
Monroe, Michigan USA


Report this post
Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 3 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 7 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to: