aboutsummaryrefslogtreecommitdiff
path: root/kernel/hello.s
blob: eacd7975f173f8f1af8ccbe0b4467beec1ba6029 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
.global _start
.section .text.kernel

_start: li a7, 0x4442434E
        li a6, 0x00
        li a0, 12
        lla a1, debug_string
        li a2, 0
        ecall

loop:   j loop

        .section .rodata
debug_string:
        .string "Hello world\n"