OpenCores
no use no use 1/1 no use no use
stack initialization
by Unknown on Jan 11, 2005
Not available!
Hi!

I just found out, that the reset.S file for the orpmon contains the same
bug, as the reset.S in hello-uart. See my posting from 12/30/2004 and
following.

Regards,
Patrick

Index: orpmon/reset.S
===================================================================
RCS file: /cvsroot/anonymous/or1k/orpmon/reset.S,v
retrieving revision 1.14
diff -u -r1.14 reset.S
--- orpmon/reset.S 23 Aug 2002 12:11:07 -0000 1.14
+++ orpmon/reset.S 11 Jan 2005 09:17:52 -0000
@@ -181,7 +181,7 @@

l.movhi r1,hi(_stack-4)
l.ori r1,r1,lo(_stack-4)
- l.addi r2,r0,-3
+ l.addi r2,r0,-4
l.and r1,r1,r2

l.movhi r2,hi(_main)
no use no use 1/1 no use no use
© copyright 1999-2026 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.