6502 Assembler

handy tools that can assist in the development of new software
Post Reply
Posts: 41
Joined: Thu Oct 04, 2018 8:40 pm
Location: Northampton

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 ?


User avatar
Posts: 2578
Joined: Wed May 18, 2005 10:09 am
Location: Newcastle upon Tyne

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

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

Code: Select all

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

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
Posts: 4223
Joined: Tue Jun 21, 2011 9:25 am

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.

Posts: 418
Joined: Sun Mar 29, 2015 11:27 pm

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.

Posts: 370
Joined: Tue Aug 30, 2005 12:42 am

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)


Post Reply

Return to “development tools”