<< Previous Message Main Index Next Message >>
<< Previous Message in Thread This Month Next Message in Thread >>
Date   : Wed, 29 Apr 2009 21:24:09 +0000 (GMT)
From   : tommowalker@... (Tom Walker)
Subject: Odd behaviour of the STA &****,X command?

> If the command is used without the index - IE: STA &FC40 -? the CPU 
> makes one write to the memory location as you'd expect, but if you use 
> the X index - STA &FC40,X -? it seems to perform a read immediately 
> afterwards from the same location. Is that "normal" behaviour for the
> 6502, or is my CPU (or scope (or brain)) screwey?

Haven't heard about a read afterwards, a read _before_ is normal, as it's
done while the 6502 fixes up the high byte of the address (as it has to access
memory every cycle).

Tom


      
<< Previous Message Main Index Next Message >>
<< Previous Message in Thread This Month Next Message in Thread >>