Hi, this is my first time here.
I'm trying to learn simple assembly routines for c64, using CBM prgStudio and it's great fun!
The thing I want to ask is this. I've this simple routine :
*=$1000
lda $00
sta $d020
jsr $e544
Main
jsr clear
ldx #$00
clear
lda TestMap
sta $0400,x
inx
cpx #40
bne clear
rts
TestMap
byte $e0,$01,$0a
I'd like that the two bytes at the end in Testmap, would be read in sequence $e0,$01,$0a... etc but a the moment it reads only the first one and I can't find a way to do it.
Thanks
How to read bytes in sequence
Re: How to read bytes in sequence
LDA $TestMap,x
Socialism never took root in America because the poor see themselves not as an exploited proletariat but as temporarily embarrassed millionaires. -John Steinbeck
Re: How to read bytes in sequence
Yes ,thanks! indeed, I found it after several attempts
Who is online
Users browsing this forum: No registered users and 0 guests