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

All times are UTC




Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 3 posts ] 
Author Message
PostPosted: Wed Sep 06, 2000 3:34 am 
What's the operation result of "TRB" of WDC65C02S?


Report this post
Top
  
Reply with quote  
PostPosted: Tue Jun 19, 2001 5:52 pm 
Offline
User avatar

Joined: Fri Aug 30, 2002 9:02 pm
Posts: 1748
Location: Sacramento, CA
Hi,

Here is what I found on the TRB instruction:
!A AND M -> M with Z flag indicating result of A AND M (same as Bit instruction).
Note: the !A means the compliment of A. The result is stored in the memory address referenced, not the A register.

Two instructions: 1C-TRB asbolute and 14-TRB Zero page

Hope that helps!

Daryl

_________________
Please visit my website -> https://sbc.rictor.org/


Report this post
Top
 Profile  
Reply with quote  
PostPosted: Tue Jun 19, 2001 5:52 pm 
Offline
User avatar

Joined: Fri Aug 30, 2002 9:02 pm
Posts: 1748
Location: Sacramento, CA
Hi,

Here is what I found on the TRB instruction:
!A AND M -> M with Z flag indicating result of A AND M (same as Bit instruction).
Note: the !A means the compliment of A. The result is stored in the memory address referenced, not the A register.

Two instructions: 1C-TRB asbolute and 14-TRB Zero page

Hope that helps!

Daryl

_________________
Please visit my website -> https://sbc.rictor.org/


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

All times are UTC


Who is online

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