6502.org Forum  Projects  Code  Documents  Tools  Forum
It is currently Fri Nov 22, 2024 3:05 am

All times are UTC




Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 
Author Message
 Post subject: [28.1] 6502 Instruction
PostPosted: Mon Feb 28, 2000 4:10 am 
Dear All:

I met a problem with the operation mode of WDC65C02.

In the ALU: if I add 1 and 2, the Acc will be 3. if I sub 1 and 2, the Acc will be 0xFF. But what would I get if sub 1 and 2 at the time I set the flag D (in BCD mode)?


Report this post
Top
  
Reply with quote  
 Post subject: [28.2] 6502 Instruction
PostPosted: Sun Mar 05, 2000 5:28 pm 
That should give you 0x99.


Report this post
Top
  
Reply with quote  
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 

All times are UTC


Who is online

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