Never one to hang around, I've put a new version of BeebAsm on the website which allows '$' as a prefix for hex numbers!
As for which to use, well, it's just a personal preference. P65 is a more traditional assembler in terms of its syntax, whilst the idea with BeebAsm was to recreate a more BBC BASIC-like environment, as this is what I was most used to. If you've never written 6502 assembler on a real Beeb using the built-in assembler, it might seem a little strange to you
One of the main reasons I decided to write BeebAsm was that I couldn't find a 6502 assembler that would let me write multiple instructions on a single line. I used to do this all the time on the Beeb, in order to naturally group instructions which belonged together to perform one operation, e.g.
Code:
LDA #2:STA numlives
I found that it really aided the clarity of the code.
Then it just kinda grew from there. I always used to build lookup tables in BBC BASIC within the assembler code, so I decided I'd implement all the floating point functions available in BASIC too, so I could trivially generate a sine table or whatever inside the assembler source code itself.
But, SWIFT provides a lot of this wrapping too, so as Steve says, just try them and see which comes more naturally.
SteveO wrote:
I use P65 but that's because it supports merging with Swift and I like to keep my files logically seperate as much as possible.
Just to add that this is possible with BeebAsm too - you can write source code in separate files, and then just create a 'core' source file which INCLUDEs all the other files in the appropriate order.