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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [or1ksim/] [testsuite/] [test-code-or1k/] [cfg/] [cfg.S] - Diff between revs 90 and 458

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

Rev 90 Rev 458
Line 26... Line 26...
   --------------------------------------------------------------------------*/
   --------------------------------------------------------------------------*/
 
 
#include "spr-defs.h"
#include "spr-defs.h"
 
 
        .section .except, "ax"
        .section .except, "ax"
        l.addi  r2,r0,0
 
 
 
        .section .text
 
        .org 0x100
        .org 0x100
_reset:
_reset:
        l.addi  r1,r0,0x7f00
        l.addi  r1,r0,0x7f00
        l.movhi r2,hi(_main)
        l.movhi r2,hi(_main)
        l.ori   r2,r2,lo(_main)
        l.ori   r2,r2,lo(_main)
        l.jr    r2
        l.jr    r2
        l.nop
        l.nop
 
 
 
        .section .text
_main:
_main:
        l.addi  r2,r0,0
        l.addi  r2,r0,0
 
 
        l.mfspr r3,r0,SPR_VR            /* Version */
        l.mfspr r3,r0,SPR_VR            /* Version */
  l.nop NOP_REPORT
  l.nop NOP_REPORT

powered by: WebSVN 2.1.0

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