On Mon, 30 Jan 2012, ict@ccess wrote:
I believe you have the PUSH wrong. The register is supposed to be set
first with what's in the x register.
So it should be
push: stx ADR6522+1
jsr setreg
sty ADR6522+1
jsr setdata
rts
BINGO! Thanks a ton. -uso.