mirror of
https://github.com/jserv/armv8-hello.git
synced 2025-05-22 02:43:17 +00:00
15 lines
166 B
C
15 lines
166 B
C
#include "reg.h"
|
|
|
|
int puts(const char *str)
|
|
{
|
|
while (*str)
|
|
*((unsigned int *) UART_BASE) = *str++;
|
|
return 0;
|
|
}
|
|
|
|
void main(void)
|
|
{
|
|
puts("Hello\n");
|
|
while (1);
|
|
}
|