On 10/15/2011 03:11 PM, Gerrit Heitsch wrote: > On 10/15/2011 01:37 PM, Didier Derny wrote: >> Hi, >> >> My memory is failing >> >> With the following code: >> >> >> LDY #$02 >> LDA $FF,Y<- zero page >> >> Do I get the content of $0101 or $0001 >> >> Or anything else ? > > Just tried on my C16 here... I get the contents of $0001 which is what I > expected from memory. ... And I forgot... You can't use 'LDA $FF,Y', you have to use 'LDA $FF,X' in the zeropage, indexing by Y doesn't work there. Gerrit Message was sent through the cbm-hackers mailing listReceived on 2011-10-15 14:00:17
Archive generated by hypermail 2.2.0.