19 lines
148 B
ArmAsm
19 lines
148 B
ArmAsm
|
.globl __start
|
||
|
|
||
|
.data
|
||
|
msg:
|
||
|
.string "Hello World!"
|
||
|
.byte 0
|
||
|
.text
|
||
|
|
||
|
__start:
|
||
|
LA a0, msg
|
||
|
li a7, 4
|
||
|
ecall
|
||
|
|
||
|
j Shutdown
|
||
|
|
||
|
Shutdown:
|
||
|
li a7, 10
|
||
|
ecall
|