comment hello world
This commit is contained in:
parent
3393d19cac
commit
68cb60e342
|
@ -1,8 +1,8 @@
|
||||||
li8 r1, 1
|
li8 r1, 1 ; 1->sys::write
|
||||||
li8 r2, 1
|
li8 r2, 1 ; fildes=stdout
|
||||||
lra16 r3, r0, hello_string
|
lra16 r3, r0, hello_string ; buf=hello_string
|
||||||
li8 r4, 0x11
|
li8 r4, 0x11 ; nbyte=0x11
|
||||||
eca
|
eca ; sys::write(stdout, hello_string, 0x11)
|
||||||
tx
|
tx
|
||||||
hello_string:
|
hello_string:
|
||||||
.db "Hello, AbleCorp!\n"
|
.db "Hello, AbleCorp!\n"
|
||||||
|
|
Loading…
Reference in a new issue