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

Subversion Repositories thor

[/] [thor/] [trunk/] [software/] [c64libc/] [source/] [Thor/] [outc.c] - Blame information for rev 32

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

Line No. Rev Author Line
1 22 robfinch
 
2
void outc(unsigned int port, int value)
3
{
4
     asm {
5
        lw    r1,32[bp]
6
        lw    r2,40[bp]
7
        sc    r2,zs:[r1]
8
     }
9
}

powered by: WebSVN 2.1.0

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