home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Transactor
/
Transactor_25_1988_Transactor_Publishing.d64
/
listing2
< prev
next >
Wrap
Text File
|
2023-02-26
|
460b
|
10 lines
fill2 stx loop+1 ;save low byte into STA instruction
sty loop+2 ;save high byte into STA instruction
lda #$00 ;Acc. holds value to store in block
tay ;set index register to zero
;
loop2 sta $0000,y ;save value of Acc. into memory
iny ;move index pointer up one
bne loop2 ;keep going till INY sets zero flag
rts ;now we're done, return to caller