[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: The Apple II is EVIL, it's the computer of SATAN ! ! ! !



>Martin Doherty" <martin.doherty@undisclosed.com> wrote in message 
>news:MOvfd.35$ct5.46@news.oracle.com...

>>>305-  BD 11 03     LDA $0311
>>>308-  9D 00 04     STA $0400

> I am aghast at my presumption in saying this, due to the fact that I am a 
> complete ninny when it comes to 6502 assembly, but ... shouldn't it be 
> "LDA $0311,X" ?
> Martin

Hi Martin,

You are correct.  Also, the STA should be $0400,X

I got the operands correct (everything to the left of the assembler
mneomics)  ... I simply forgot to write them properly in the
'assembler' source.

If you type "CALL -151" to get into the monitor then type in
the 'machine language' instead of the assembly version of it,
it will work correctly.

]CALL -151[return]
*300:20 FC 58[return]
*303:A2 00[return]
etc ...
*300G[return]
*3D0G[return]
]

Cheers,
Craig