Think I just wanted to know if it crossed the page or not It worked as I thought but I was unable to remember the correct behavior. Thanks all -----Message d'origine----- De : email@example.com [mailto:firstname.lastname@example.org] De la part de Gerrit Heitsch Envoyé : samedi 15 octobre 2011 15:20 À : email@example.com Objet : Re: index page zero operation. 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 list Message was sent through the cbm-hackers mailing listReceived on 2011-10-15 19:00:03
Archive generated by hypermail 2.2.0.