[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Assembler code
In article <5e56673f.0501100007.40cb668f@posting.google.com>,
pererasanjaya@hotmail.com (sanjaya) wrote:
> can someone help me with the assembler code to move memory contents
> from $DA00-$DBFF (Bank 1 main memory) to $8000-$81ff (main memory).
>
> thanks,
> sanjaya
A1 EQU $3C
A2 EQU $3E
A4 EQU $42
MOVE EQU $FE2C move A1.A2 to A4
...
LDA #>$DA00
STA A1
LDA #<$DA00
STA A1+1
LDA #>$DBFF
STA A2
LDA #<$DBFF
STA A2+1
LDA #>$8000
STA A4
LDA #<$8000
STA A4+1
JSR MOVE
...
--
John
jmatthews at wright dot edu
www dot wright dot edu/~john.matthews/