URL
https://opencores.org/ocsvn/tv80/tv80/trunk
Subversion Repositories tv80
[/] [tv80/] [branches/] [hpa1/] [tests/] [hello.c] - Rev 86
Go to most recent revision | Compare with Previous | Blame | View Log
sfr at 0x80 sim_ctl_port; sfr at 0x81 msg_port; sfr at 0x82 timeout_port; void print (char *string) { char *iter; iter = string; while (*iter != 0) { msg_port = *iter++; } } int main () { print ("Hello, world!\n"); sim_ctl_port = 0x01; return 0; }
Go to most recent revision | Compare with Previous | Blame | View Log