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

Subversion Repositories minsoc

[/] [minsoc/] [trunk/] [sw/] [support/] [except.S] - Diff between revs 53 and 74

Go to most recent revision | Show entire file | Details | Blame | View Log

Rev 53 Rev 74
Line 23... Line 23...
l.jal   store_regs          /*save registers r3-r31 (except r9) to stack (r9 is changed here)*/;\
l.jal   store_regs          /*save registers r3-r31 (except r9) to stack (r9 is changed here)*/;\
l.nop                       ;\
l.nop                       ;\
;\
;\
l.movhi r9,hi(end_except)   /*set return addr to end_except instruction*/;\
l.movhi r9,hi(end_except)   /*set return addr to end_except instruction*/;\
l.ori   r9,r9,lo(end_except)/*set return addr to end_except instruction*/;\
l.ori   r9,r9,lo(end_except)/*set return addr to end_except instruction*/;\
l.j    handler              ;\
l.j    CLABEL(handler)      ;\
l.nop
l.nop
 
 
.org 0x000
.org 0x000
_except_200:
_except_200:
intr_handler(buserr_except)
intr_handler(buserr_except)

powered by: WebSVN 2.1.0

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