6502.org Forum  Projects  Code  Documents  Tools  Forum
It is currently Sat Apr 27, 2024 6:04 pm

All times are UTC




Post new topic Reply to topic  [ 17 posts ]  Go to page Previous  1, 2
Author Message
PostPosted: Mon Mar 11, 2024 2:35 am 
Offline
User avatar

Joined: Fri Aug 30, 2002 1:09 am
Posts: 8428
Location: Southern California
What are the blo and bhs mnemonics?  (apparently aliases for existing branch instructions)

And do you have the CMOS instruction set available to you?

_________________
http://WilsonMinesCo.com/ lots of 6502 resources
The "second front page" is http://wilsonminesco.com/links.html .
What's an additional VIA among friends, anyhow?


Top
 Profile  
Reply with quote  
PostPosted: Mon Mar 11, 2024 3:55 am 
Offline

Joined: Thu Mar 12, 2020 10:04 pm
Posts: 690
Location: North Tejas
blo is an alias for bcc and bhs for bcs

They keep me from forever refiguring out whether the carry flag is set on borrow. The mnemonic device is that the 6502 has it backward for when I have to.

I come from the 680x world where in addition to beq and bne, there are four unsigned relative branches:

blo - branch if lower
bls - branch if lower or same
bhs - branch if higher or same
bhi - branch if higher

I do not alias bls or bhi because they are not equivalent to single instructions.

My own tools currently support only the NMOS instruction set because I consider OSI and early Apple II as significantly important platforms. And I do not use undocumented instructions.


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 15 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: