6502.org Forum  Projects  Code  Documents  Tools  Forum
It is currently Thu Nov 14, 2024 4:29 pm

All times are UTC




Post new topic Reply to topic  [ 17 posts ]  Go to page Previous  1, 2
Author Message
PostPosted: Thu Jul 11, 2019 4:32 pm 
Offline

Joined: Mon May 21, 2018 8:09 pm
Posts: 1462
If you need something which doesn't rely on working RAM *or* a known execution address *or* any known ROM contents, try:
Code:
INC A
BNE *-1
DEC A
…and then proceed with one of the above shifting solutions, with $FF in A.


Top
 Profile  
Reply with quote  
PostPosted: Thu Jul 11, 2019 5:01 pm 
Offline
User avatar

Joined: Thu Dec 11, 2008 1:28 pm
Posts: 10977
Location: England
One could set or clear the carry before each of 8 shifts...


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

All times are UTC


Who is online

Users browsing this forum: Google [Bot] and 4 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: