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

Subversion Repositories amber

[/] [amber/] [trunk/] [hw/] [tests/] [stm_stream.S] - Diff between revs 15 and 36

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

Rev 15 Rev 36
Line 38... Line 38...
// from http://www.opencores.org/lgpl.shtml                     //
// from http://www.opencores.org/lgpl.shtml                     //
//                                                              //
//                                                              //
*****************************************************************/
*****************************************************************/
 
 
#include "amber_registers.h"
#include "amber_registers.h"
 
#include "amber_macros.h"
 
 
        .section .text
        .section .text
        .globl  main
        .globl  main
main:
main:
        @ ---------------------
        @ ---------------------
Line 106... Line 107...
        mov     r0, #0x1000000
        mov     r0, #0x1000000
        mov     r13, #320
        mov     r13, #320
1:      mov     r9, r14
1:      mov     r9, r14
2:      add     r9, r9, #1
2:      add     r9, r9, #1
        ldr     r12, [r0], #4
        ldr     r12, [r0], #4
        cmp     r12, r9
        compare r12, r9, __LINE__
        addne   r10, r9, r13
 
        bne     testfail
 
        add     r10, r14, #8
        add     r10, r14, #8
        cmp     r9, r10
        cmp     r9, r10
        bne     2b
        bne     2b
 
 
        subs    r13, r13, #10
        subs    r13, r13, #10

powered by: WebSVN 2.1.0

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