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

Subversion Repositories or1k_old

[/] [or1k_old/] [trunk/] [mp3/] [sw/] [trap/] [trap.S] - Diff between revs 319 and 329

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

Rev 319 Rev 329
Line 1... Line 1...
 
#include "spr_defs.h"
 
 
        .extern main
        .extern main
        .extern _src_beg
        .extern _src_beg
        .extern _dst_beg
        .extern _dst_beg
        .extern _dst_end
        .extern _dst_end
        .extern _c_reset
        .extern _c_reset
Line 66... Line 68...
 
 
.org 0x2000
.org 0x2000
 
 
_main:
_main:
        l.nop
        l.nop
        l.addi  r5,r0,3
        l.addi  r5,r0,SPR_SR_SUPV|SPR_SR_EXR
        l.mtspr r0,r5,17
        l.mtspr r0,r5,SPR_SR
        l.nop
        l.nop
        l.addi r11,r0,1
        l.addi r11,r0,1
        l.addi r11,r0,3
        l.addi r11,r0,3
        l.addi r11,r0,5
        l.addi r11,r0,5
        l.trap  1
        l.trap  1

powered by: WebSVN 2.1.0

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