6502 Assembler

Development tools discussion area.
Post Reply
ChrisO
Posts: 20
Joined: Thu Oct 04, 2018 7:40 pm
Contact:

6502 Assembler

Post by ChrisO » Sat Nov 17, 2018 9:42 am

I've recently come back to Acorn computers (see my Acorn System 2/3 refurb thread) and deciding which (PC) assembler to use ?

Had a look at a couple: BeebAsm and CA65 which seem to be two extremes in terms of complexity ! BeebAsm is simple but entirely adequate for what I want though it doesn't seem to be able to produce a 'listing' output which is something I want. CA65 seems rather more complicated than I can cope with, I can't even figure out how to get object code out of it without using the (complicated) linker ?

What are the views on this forum for assemblers that are worth looking at ?

Chris

User avatar
sydney
Posts: 2258
Joined: Wed May 18, 2005 9:09 am
Location: Newcastle upon Tyne
Contact:

Re: 6502 Assembler

Post by sydney » Sat Nov 17, 2018 10:23 am

From the readme file here: https://github.com/stardot/beebasm/blob ... /README.md
-v

Verbose output. Assembled code will be output to the screen.
Example:

Code: Select all

beebasm -i main.asm -v
That should get you a 'listing' output.

EDIT:
As for which one to use I'm with beebasm.
Last edited by sydney on Sat Nov 17, 2018 10:25 am, edited 1 time in total.

User avatar
tricky
Posts: 2944
Joined: Tue Jun 21, 2011 8:25 am
Contact:

Re: 6502 Assembler

Post by tricky » Sat Nov 17, 2018 12:44 pm

I use beebasm for all my stuff.
There is a github and some people here contribute .
I have hacked beebem to load the labels that can be exported so as to show them when debugging.
There is also swift, by I have not tried it.

bprosman
Posts: 211
Joined: Sun Mar 29, 2015 10:27 pm
Contact:

Re: 6502 Assembler

Post by bprosman » Sat Nov 17, 2018 3:19 pm

Always liked TASM (as in Telemark assembler, not Turbo assembler) it does multiple processors :
https://github.com/feilipu/NASCOM_BASIC ... ter/TASM31

http://www.s100computers.com/Software%2 ... Manual.pdf
Last edited by bprosman on Sat Nov 17, 2018 3:20 pm, edited 2 times in total.

tom_seddon
Posts: 226
Joined: Mon Aug 29, 2005 11:42 pm
Contact:

Re: 6502 Assembler

Post by tom_seddon » Sat Nov 17, 2018 3:30 pm

I really like 64tass: http://tass64.sourceforge.net/

Produces good-quality listing files (I was disappointed by BeebAsm's listing too), has a quite powerful (if ugly) macro language, and sports a wide range of data types (e.g., http://tass64.sourceforge.net/#list-tuples). It is C64-oriented, though, and has absolutely zero BBC support, so you'll have to make your own disc images and whatnot...

(For BBC stuff you'll almost certainly want to run it with --nostart, which leaves off the 2-byte C64 header. For example: https://github.com/tom-seddon/beeblink/ ... akefile#L9)

--Tom

Post Reply