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

Subversion Repositories zipcpu

[/] [zipcpu/] [trunk/] [bench/] [cpp/] [helloworld.c] - Blame information for rev 209

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 204 dgisselq
////////////////////////////////////////////////////////////////////////////////
2
//
3
// Filename:    helloworld.c
4
//
5
// Project:     Zip CPU -- a small, lightweight, RISC CPU soft core
6
//
7
// Purpose:     The original Helllo World program.  If everything works, this
8
//              will print Hello World to the UART, and then halt the CPU--if
9
//      run with no O/S.
10
//
11
//
12
////////////////////////////////////////////////////////////////////////////////
13
//
14 209 dgisselq
// Gisselquist Technology asserts no ownership rights over this particular
15
// hello world program.
16 204 dgisselq
//
17
////////////////////////////////////////////////////////////////////////////////
18
//
19
//
20
#include <stdio.h>
21
 
22
int main(int argc, char **argv) {
23
        printf("Hello, World!\r\n");
24
        return 0;
25
}
26
 

powered by: WebSVN 2.1.0

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