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

Subversion Repositories steelcore

[/] [util/] [hello.c] - Rev 11

Compare with Previous | Blame | View Log

int main()
{
    char* UART_ADDRESS = (char*)0x00010000;
    char hello[20] = "Hello World, Steel!\0";
    int i = 0;
    for(i = 0; i < 20; i++)
    {
        while((*UART_ADDRESS) != 1);
        (*UART_ADDRESS) = hello[i];
    }
    for(;;);
}
 

Compare with Previous | Blame | View Log

powered by: WebSVN 2.1.0

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