Question about xa and JSL

Programming the 6502 microprocessor and its relatives in assembly and other languages.
Post Reply
RebeccaBlue
Posts: 8
Joined: 26 Nov 2020

Question about xa and JSL

Post by RebeccaBlue »

So, I'm trying to get up to speed on the xa assembler, and so far, things are going pretty well.

The weird problem I've run into though is that it is treating 'JSL $123456' as a syntax error. I am passing the '-w' option in the command line.

Any ideas what I'm missing here?

Thanks!
User avatar
barrym95838
Posts: 2056
Joined: 30 Jun 2013
Location: Sacramento, CA, USA

Re: Question about xa and JSL

Post by barrym95838 »

Is this the xa you are referencing? Did you try JSL @123456?

Code: Select all

          @    render as 24-bit quantity for 65816 (must specify -w
               command-line option).  This is required to specify any
               24-bit quantity!
Got a kilobyte lying fallow in your 65xx's memory map? Sprinkle some VTL02C on it and see how it grows on you!

Mike B. (about me) (learning how to github)
RebeccaBlue
Posts: 8
Joined: 26 Nov 2020

Re: Question about xa and JSL

Post by RebeccaBlue »

barrym95838 wrote:
Is this the xa you are referencing? Did you try JSL @123456?

Code: Select all

          @    render as 24-bit quantity for 65816 (must specify -w
               command-line option).  This is required to specify any
               24-bit quantity!
That's better! Strangely, I had to use 'jsr $@123456' because jsl still returns an syntax error. The output code is right though, so I'm good.

Thank you!
Post Reply