6502.org http://forum.6502.org/ |
|
[66] the result of "TRB"? http://forum.6502.org/viewtopic.php?f=7&t=323 |
Page 1 of 1 |
Author: | Neison1 [ Wed Sep 06, 2000 3:34 am ] |
Post subject: | [66.1] the result of "TRB"? |
What's the operation result of "TRB" of WDC65C02S? |
Author: | 8BIT [ Tue Jun 19, 2001 5:52 pm ] |
Post subject: | [66.2] the result of "TRB"? |
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 |
Author: | 8BIT [ Tue Jun 19, 2001 5:52 pm ] |
Post subject: | [66.3] the result of "TRB"? |
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 |
Page 1 of 1 | All times are UTC |
Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |