Page 2 of 2

Author:  tokumaru [ Tue Aug 15, 2017 1:49 am ]
Post subject:  Re: JSR

I can't even tell which assembler supports the syntax you're using there...

Author:  Oziphantom [ Tue Aug 15, 2017 1:58 am ]
Post subject:  Re: JSR

that format is tass64. and its manual is here
however other assemblers like KickAss, ACME, and I would think CA65 should also be able to handle something similar to it.

Author:  FrankenGraphics [ Tue Aug 15, 2017 3:24 am ]
Post subject:  Re: JSR

Another example of a workaround for the absent "jsr addr, x" can be found here.

Ctrl+F for "ChooseRoutine:" and "LC141:" for the table itself.

Author:  TOUKO [ Fri Oct 20, 2017 6:13 am ]
Post subject:  Re: JSR

Pokun wrote:
One of the new instructions in Hudson's 65C02 derivative the Hu6280, is the BSR - Branch to Subroutine instruction. Doesn't seem too useful since the subroutine must be close to the branch, but I guess it can be used in relocatable code since branches are relative.

You're right, BSR is useless because it save a byte, but have nothing else than to lose a cycle .

Page 2 of 2 All times are UTC - 7 hours
Powered by phpBB® Forum Software © phpBB Group