URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Go to most recent revision |
Show entire file |
Details |
Blame |
View Log
Rev 399 |
Rev 469 |
Line 268... |
Line 268... |
.section .text
|
.section .text
|
.global _start
|
.global _start
|
.type _start,@function
|
.type _start,@function
|
|
|
_start:
|
_start:
|
|
/* First, clear r0. */
|
|
l.movhi r0,0
|
/* Finding the end of stack means we need to handle the bus
|
/* Finding the end of stack means we need to handle the bus
|
error. Patch in some special handler code. */
|
error. Patch in some special handler code. */
|
l.movhi r30,hi(__buserr) /* Where to copy to */
|
l.movhi r30,hi(__buserr) /* Where to copy to */
|
l.ori r30,r30,lo(__buserr)
|
l.ori r30,r30,lo(__buserr)
|
l.movhi r28,hi(__buserr_std) /* Where to stop copying */
|
l.movhi r28,hi(__buserr_std) /* Where to stop copying */
|
© copyright 1999-2025
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.