OpenCores
URL https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk

Subversion Repositories openrisc_2011-10-31

[/] [openrisc/] [trunk/] [rtos/] [rtems/] [c/] [src/] [lib/] [libbsp/] [i960/] [rxgen960/] [startup/] [ihandler.S] - Rev 173

Compare with Previous | Blame | View Log

#
#  $Id: ihandler.S,v 1.2 2001-09-27 11:59:59 chris Exp $
#

#######################################
# ihandler.s                          #
# Last change :  8.11.94              #
#######################################

        .text
        .globl _nmiHandler
        .globl _intr5Handler
        .globl _intr6Handler
        .globl _clockHandler 

        .text 

# NMI Handler 
_nmiHandler :
        ldconst 64, r4
        addo    sp, r4, sp

        stq     g0, -64(sp)
        stq     g4, -48(sp)
        stq     g8, -32(sp)
        stt     g12, -16(sp)

        callx   _nmi_isr

        ldq     -64(sp), g0
        ldq     -48(sp), g4
        ldq     -32(sp), g8
        ldt     -16(sp), g12

        ret
_clockHandler :
        ldconst 64, r4
        addo    sp, r4, sp

        stq     g0, -64(sp)
        stq     g4, -48(sp)
        stq     g8, -32(sp)
        stt     g12, -16(sp)

        callx   _Clock_isr

        ldq     -64(sp), g0
        ldq     -48(sp), g4
        ldq     -32(sp), g8
        ldt     -16(sp), g12
#
#
        ret

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.