holey-toys/examples/hello.S

9 lines
248 B
ArmAsm
Raw Permalink Normal View History

2024-03-17 20:02:56 +00:00
li8 r1, 1 ; 1->sys::write
li8 r2, 1 ; fildes=stdout
lra16 r3, r0, hello_string ; buf=hello_string
li8 r4, 0x11 ; nbyte=0x11
eca ; sys::write(stdout, hello_string, 0x11)
2024-03-17 19:31:42 +00:00
tx
hello_string:
.db "Hello, AbleCorp!\n"