OpenCores
URL https://opencores.org/ocsvn/eco32/eco32/trunk

Subversion Repositories eco32

[/] [eco32/] [trunk/] [stdalone/] [memsize/] [start.s] - Diff between revs 38 and 96

Go to most recent revision | Show entire file | Details | Blame | View Log

Rev 38 Rev 96
Line 110... Line 110...
        add     $1,$27,$0        ; $27 -> $1
        add     $1,$27,$0        ; $27 -> $1
        add     $29,$26,0        ; $26 -> sp
        add     $29,$26,0        ; $26 -> sp
        rfx                     ; return from exception
        rfx                     ; return from exception
 
 
start:
start:
 
        add     $8,$0,0xA8003FFF
 
        add     $9,$0,0xC0000000
 
        stw     $8,$9,0          ; 0xC0000000: j 0xC0010000
 
        stw     $8,$9,4         ; 0xC0000004: j 0xC0010004
 
        stw     $8,$9,8         ; 0xC0000008: j 0xC0010008
        mvfs    $8,0
        mvfs    $8,0
        or      $8,$8,1 << 27   ; let vector point to RAM
        or      $8,$8,1 << 27   ; let vector point to RAM
        mvts    $8,0
        mvts    $8,0
        add     $29,$0,stack     ; set sp
        add     $29,$0,stack     ; set sp
        add     $10,$0,_bdata    ; copy data segment
        add     $10,$0,_bdata    ; copy data segment

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.