6502.org Forum  Projects  Code  Documents  Tools  Forum
It is currently Tue Sep 17, 2024 3:42 am

All times are UTC




Post new topic Reply to topic  [ 21 posts ]  Go to page Previous  1, 2
Author Message
PostPosted: Wed Mar 20, 2013 9:41 pm 
Offline
User avatar

Joined: Mon Apr 23, 2012 12:28 am
Posts: 760
Location: Huntsville, AL
Except BIT #imm, which only sets Z.

_________________
Michael A.


Top
 Profile  
Reply with quote  
PostPosted: Wed Mar 20, 2013 9:43 pm 
Offline
User avatar

Joined: Thu Dec 11, 2008 1:28 pm
Posts: 10938
Location: England
Indeed so - I noticed that in a 65816 manual... and then thought I should ignore it, because it's not 6502!

Thanks, though: I've added a note.

Cheers
Ed


Top
 Profile  
Reply with quote  
PostPosted: Wed Mar 20, 2013 10:40 pm 
Offline
User avatar

Joined: Fri Aug 30, 2002 1:09 am
Posts: 8508
Location: Southern California
BigEd wrote:
Indeed so - I noticed that in a 65816 manual... and then thought I should ignore it, because it's not 6502!

It is on 65c02 though. It's not cofined to 65816/802.

Quote:
Is that it? I'll edit to incorporate corrections.

65c02 clears the D flag upon RST, IRQ, and NMI, and of course these set the I flag on all the processors in the family.

_________________
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: Wed Mar 20, 2013 10:54 pm 
Offline
User avatar

Joined: Thu Dec 11, 2008 1:28 pm
Posts: 10938
Location: England
Thanks Garth - I've re-adjusted my post. I did originally and erroneously think that BIT# was 816 only, but then checked at http://www.llx.com/~nparker/a2/opcodes.html
Cheers
Ed


Top
 Profile  
Reply with quote  
PostPosted: Thu Mar 21, 2013 6:00 am 
Offline
User avatar

Joined: Thu May 28, 2009 9:46 pm
Posts: 8382
Location: Midwestern USA
BigEd wrote:
Arithmetic ops set C and V appropriately except CMP doesn't affect V.

...as well as N and Z.

_________________
x86?  We ain't got no x86.  We don't NEED no stinking x86!


Top
 Profile  
Reply with quote  
PostPosted: Thu Mar 21, 2013 7:31 pm 
Offline
User avatar

Joined: Thu Dec 11, 2008 1:28 pm
Posts: 10938
Location: England
BigDumbDinosaur wrote:
BigEd wrote:
Arithmetic ops set C and V appropriately except CMP doesn't affect V.

...as well as N and Z.

Indeed - already covered under rule 1.


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

All times are UTC


Who is online

Users browsing this forum: No registered users and 39 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: