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

Subversion Repositories or1k

[/] [or1k/] [branches/] [stable_0_2_x/] [or1ksim/] [testbench/] [except.S] - Diff between revs 436 and 441

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

Rev 436 Rev 441
Line 1... Line 1...
/* Support file for c based tests */
/* Support file for c based tests */
#include "spr_defs.h"
#include "spr_defs.h"
 
 
 
#define reset _reset
 
 
        .section .stack
        .section .stack
        .space 0x1000
        .space 0x1000
_stack:
_stack:
 
 
        .section .except
        .section .except
Line 25... Line 27...
 
 
        .org    0x100
        .org    0x100
_reset_vector:
_reset_vector:
        l.nop
        l.nop
        l.nop
        l.nop
        l.movhi r0, 0x0
 
        l.slli  r0,r0,16
 
        l.addi  r1,r0,0x0
 
        l.addi  r2,r0,0x0
        l.addi  r2,r0,0x0
        l.addi  r3,r0,0x0
        l.addi  r3,r0,0x0
        l.addi  r4,r0,0x0
        l.addi  r4,r0,0x0
        l.addi  r5,r0,0x0
        l.addi  r5,r0,0x0
        l.addi  r6,r0,0x0
        l.addi  r6,r0,0x0
Line 88... Line 87...
        l.bf    1b
        l.bf    1b
        l.nop
        l.nop
 
 
2:
2:
 
 
        l.movhi r2,hi(_reset)
        l.movhi r2,hi(reset)
        l.ori   r2,r2,lo(_reset)
        l.ori   r2,r2,lo(reset)
        l.jr    r2
        l.jr    r2
        l.nop
        l.nop
 
 
        .org    0x200
        .org    0x200
_buserr_vector:
_buserr_vector:

powered by: WebSVN 2.1.0

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