URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Show entire file |
Details |
Blame |
View Log
Rev 458 |
Rev 787 |
Line 28... |
Line 28... |
#include "spr-defs.h"
|
#include "spr-defs.h"
|
|
|
.section .except,"ax"
|
.section .except,"ax"
|
.org 0x100
|
.org 0x100
|
_reset:
|
_reset:
|
|
// Clear R0 on start-up. There is no guarantee that R0 is hardwired to zero,
|
|
// and indeed it is not when simulating the or1200 Verilog core.
|
|
l.andi r0,r0,0x0
|
|
|
l.addi r1,r0,0x7f00
|
l.addi r1,r0,0x7f00
|
l.movhi r2,hi(_main)
|
l.movhi r2,hi(_main)
|
l.ori r2,r2,lo(_main)
|
l.ori r2,r2,lo(_main)
|
l.jr r2
|
l.jr r2
|
l.nop
|
l.nop
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.