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

Subversion Repositories aor3000

[/] [aor3000/] [trunk/] [syn/] [soc/] [firmware/] [header.S] - Blame information for rev 2

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 2 alfik
/*
2
 * This file is subject to the terms and conditions of the BSD License. See
3
 * the file "LICENSE" in the main directory of this archive for more details.
4
 *
5
 * Copyright (C) 2014 Aleksander Osman
6
 */
7
 
8
    la  $t0, 0f
9
    jr  $t0
10
0:
11
 
12
    la      $t0, __bss_start     # clear .bss
13
    la      $t1, __bss_stop
14
    beq     $t0, $t1, 2f
15
 
16
1:
17
    sw      $zero, ($t0)
18
    addiu   $t0, 4
19
    bne     $t0, $t1, 1b
20
 
21
2:
22
    li      $sp, 0xBFC01000     # setup $sp and jump to C code
23
    j       start_bootloader
24
    nop

powered by: WebSVN 2.1.0

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