It is currently Wed Nov 22, 2017 8:50 pm

All times are UTC - 7 hours





Post new topic Reply to topic  [ 19 posts ]  Go to page Previous  1, 2
Author Message
 Post subject: Re: JSR
PostPosted: Tue Aug 15, 2017 1:49 am 
Offline
User avatar

Joined: Sat Feb 12, 2005 9:43 pm
Posts: 10118
Location: Rio de Janeiro - Brazil
I can't even tell which assembler supports the syntax you're using there...


Top
 Profile  
 
 Post subject: Re: JSR
PostPosted: Tue Aug 15, 2017 1:58 am 
Offline

Joined: Tue Feb 07, 2017 2:03 am
Posts: 256
that format is tass64. https://sourceforge.net/projects/tass64/ and its manual is here http://tass64.sourceforge.net/
however other assemblers like KickAss, ACME, and I would think CA65 should also be able to handle something similar to it.


Top
 Profile  
 
 Post subject: Re: JSR
PostPosted: Tue Aug 15, 2017 3:24 am 
Offline
Formerly WheelInventor

Joined: Thu Apr 14, 2016 2:55 am
Posts: 1017
Location: Gothenburg, Sweden
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.

_________________
http://www.frankengraphics.com - personal NES blog


Top
 Profile  
 
 Post subject: Re: JSR
PostPosted: Fri Oct 20, 2017 6:13 am 
Offline

Joined: Mon Mar 30, 2015 10:14 am
Posts: 189
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 .


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 19 posts ]  Go to page Previous  1, 2

All times are UTC - 7 hours


Who is online

Users browsing this forum: No registered users and 5 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group