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

Subversion Repositories m1_core

[/] [m1_core/] [trunk/] [tests/] [boot/] [boot.s] - Rev 61

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

# Minimal SIMPLE boot code
 
	.text
 
	# Global Pointer ($gp) initialization is done by the linker
	la $gp, _gp
 
	# Stack Pointer ($sp) initialization makes the program fit into 4 KByte
	addi $29,$0,0x1000
 
	# Initialize Return Address ($ra) to jump to the "end-of-test" special address
	lui $31,0xDEAD
	ori $31,0xBEEF
 
	# Continue to the main test
 

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

powered by: WebSVN 2.1.0

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