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

Subversion Repositories amber

[/] [amber/] [trunk/] [sw/] [hello-world/] [start.S] - Diff between revs 2 and 11

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

Rev 2 Rev 11
Line 49... Line 49...
        mov     r0, #0x00000000
        mov     r0, #0x00000000
        teqp    pc, r0
        teqp    pc, r0
 
 
        @ Enable the cache
        @ Enable the cache
        mov     r0,  #0xffffffff
        mov     r0,  #0xffffffff
        mcr     p15, 0, r0, c3, c0, 0   @ cacheable area
        mcr     15, 0, r0, cr3, cr0, 0   @ cacheable area
        mov     r0,  #1
        mov     r0,  #1
        mcr     p15, 0, r0, c2, c0, 0   @ cache enable
        mcr     15, 0, r0, cr2, cr0, 0   @ cache enable
 
 
        @ initialize the stack pointer
        @ initialize the stack pointer
        ldr     sp, AdrStack
        ldr     sp, AdrStack
 
 
        @ jump to main
        @ jump to main

powered by: WebSVN 2.1.0

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