home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Transactor
/
Transactor_25_1988_Transactor_Publishing.d64
/
listing1
< prev
next >
Wrap
Text File
|
2023-02-26
|
539b
|
12 lines
fill1 stx $fb ;save low byte of block in zero page
sty $fc ;save high byte of block in zero page
lda #$00 ;Acc. holds value to store in block
ldy #$00 ;set index register to zero
sta ($fb),y ;do first byte in block
;
loop1 iny ;move index pointer up one
sta ($fb),y ;stuff value of Acc. into memory
cpy #$ff ;when Y=FF we are done
bne loop1 ;not done yet...
rts ;now we're done, return to caller