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

Subversion Repositories m1_core

[/] [m1_core/] [trunk/] [tests/] [boot/] [boot.s] - Blame information for rev 58

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 39 fafa1971
# Minimal SIMPLE boot code
2
 
3
        .text
4
 
5 53 fafa1971
        # Global Pointer ($gp) initialization is done by the linker
6
        la $gp, _gp
7
 
8
        # Stack Pointer ($sp) initialization makes the program fit into 4 KByte
9 39 fafa1971
        addi $29,$0,0x1000
10
 
11
        # Initialize Return Address ($ra) to jump to the "end-of-test" special address
12
        lui $31,0xDEAD
13
        ori $31,0xBEEF
14
 
15
        # Continue to the main test

powered by: WebSVN 2.1.0

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