#define __noreturn __attribute__((noreturn)) static void putc(char c) { *((char*)0x1000f180) = c; } static void puts(const char* s) { while (*s != 0) { putc(*s++); } } __noreturn void _ee_start() { puts("Hello World from Riri~ (EE)\n"); while(1); } __asm__ ( ".global ee_start\n" "ee_start:\n" "li $sp, 0x80010000\n" "j _ee_start\n");