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

Subversion Repositories eco32

[/] [eco32/] [trunk/] [hwtests/] [serial/] [sertest/] [echo1.s] - Diff between revs 14 and 132

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

Rev 14 Rev 132
Line 1... Line 1...
;
;
; echo.s -- test the serial interface
; echo.s -- test the serial interface
;
;
 
 
        .set    sba,0xF0300010  ; serial base address
        .set    sba,0xF0301000  ; serial base address
 
 
        add     $8,$0,sba        ; set serial base address
        add     $8,$0,sba        ; set serial base address
L1:
L1:
        ldw     $9,$8,0          ; load receiver status into $9
        ldw     $9,$8,0          ; load receiver status into $9
        and     $9,$9,1         ; check receiver ready
        and     $9,$9,1         ; check receiver ready

powered by: WebSVN 2.1.0

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