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

Subversion Repositories eco32

[/] [eco32/] [trunk/] [stdalone/] [mkpart/] [mkmboot/] [stage2/] [biolib.s] - Blame information for rev 195

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 106 hellwig
;
2
; biolib.s -- basic I/O library
3
;
4
 
5 195 hellwig
        .set    cin,0xC0000014
6
        .set    cout,0xC000001C
7
        .set    dskio,0xC0000024
8 106 hellwig
 
9
        .export getc
10
        .export putc
11
        .export rwscts
12
 
13
        .code
14
        .align  4
15
 
16
getc:
17
        add     $8,$0,cin
18
        jr      $8
19
 
20
putc:
21
        add     $8,$0,cout
22
        jr      $8
23
 
24
rwscts:
25
        add     $8,$0,dskio
26
        jr      $8

powered by: WebSVN 2.1.0

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