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

Subversion Repositories or1k

Compare Revisions

  • This comparison shows the changes necessary to convert path
    /
    from Rev 339 to Rev 340
    Reverse comparison

Rev 339 → Rev 340

/trunk/mp3/sw/ints/ints.S
72,22 → 72,29
l.nop
l.nop
 
.org 0x0900
_xxx:
.org 0x0800
_hpint:
l.nop
l.nop
l.rfe
l.nop
l.nop
# clear TTMR[IP]
l.addi r4,r0,SPR_TTMR
l.movhi r5,hi(SPR_TTMR_RT | SPR_TTMR_IE)
l.addi r5,r5,733
l.mtspr r4,r5,0 # set TTMR
 
.org 0xc00
_syscall:
# clear entire PICSR
l.movhi r4,hi(SPR_PICSR)
l.addi r4,r0,lo(SPR_PICSR)
l.addi r5,r0,0x0000
l.mtspr r4,r5,0 # set PICSR
 
l.nop
l.nop
l.rfe
l.nop
l.nop
 
 
.org 0x2000
 
_main:

powered by: WebSVN 2.1.0

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