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

Subversion Repositories or1200_soc

[/] [or1200_soc/] [trunk/] [boards/] [de1_board/] [sw/] [tests/] [debug/] [reset.s] - Rev 21

Compare with Previous | Blame | View Log

/*  */
/*  */
 
/* #define STACK_SIZE 0x2000 */
 
.section .stack, "aw", @nobits
.space  0x0800
_stack:
 
.section .vectors, "ax"
# .org 0x100
 
_reset:
 
  /* Set stack pointer */
  l.movhi r1,hi(_stack)
  l.ori   r1,r1,lo(_stack)
 
  /* Jump to main */
  l.movhi r2,hi(_main)
  l.ori   r2,r2,lo(_main)
  l.jr    r2
  l.nop
 
 

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.