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

Subversion Repositories eco32

[/] [eco32/] [trunk/] [disk/] [tools/] [mkmboot/] [stage2/] [biolib.s] - Blame information for rev 56

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 17 hellwig
;
2
; biolib.s -- basic I/O library
3
;
4
 
5
        .set    cin,0xE0000010
6
        .set    cout,0xE0000018
7
        .set    dskio,0xE0000030
8
 
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.