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

Subversion Repositories fwrisc

[/] [fwrisc/] [trunk/] [ve/] [fwrisc_fpga/] [tests/] [sw/] [led_flash.S] - Blame information for rev 2

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 2 mballance
 
2
.section .text.init;
3
 
4
.globl _start
5
_start:
6
        li              x1, 0xc0000000;
7
        li              x2, 0x0
8
        li              x4, 0x80002000;
9
        sb              x2, 0(x4)
10
1:
11
        lb              x3, 0(x4)
12
        sw              x3, 0(x1)
13
        addi            x3, x3, 1
14
        sb              x3, 0(x4)
15
        j               1b
16
        nop
17
 

powered by: WebSVN 2.1.0

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