Page 1 of 1

Question about xa and JSL

Posted: Thu Jun 02, 2022 8:40 pm
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!

Re: Question about xa and JSL

Posted: Thu Jun 02, 2022 8:54 pm
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!

Re: Question about xa and JSL

Posted: Thu Jun 02, 2022 9:10 pm
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!