URL
https://opencores.org/ocsvn/eco32/eco32/trunk
Subversion Repositories eco32
[/] [eco32/] [tags/] [eco32-0.24/] [disk/] [tools/] [fs-Linux/] [mvstrt/] [mvstrt.s] - Rev 276
Go to most recent revision | Compare with Previous | Blame | View Log
; ; mvstrt.s -- move a program down to 0xC0000000 and start it ; .set dst,0xC0000000 ; destination is start of RAM .set len,0x00400000-256 ; number of bytes to be copied start: add $8,$0,src add $9,$0,dst add $10,$9,len loop: ldw $11,$8,0 ; copy word stw $11,$9,0 add $8,$8,4 ; bump pointers add $9,$9,4 bltu $9,$10,loop ; more? add $8,$0,dst ; start execution jr $8 ; source follows immediately src:
Go to most recent revision | Compare with Previous | Blame | View Log