Date : Wed, 29 Apr 2009 21:39:31 +0100
From : jumbos.bazzar@... (Mark Haysman)
Subject: Odd behaviour of the STA &****,X command?
Hi folks.
As I'm fiddling with a project I've noticed something odd seems to be
happening when the STA command is used to store to a location.
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?
Thanks, Mark.