From 68cb60e3426e549f4340bf8e60fa1862192aa110 Mon Sep 17 00:00:00 2001 From: Igor M Date: Sun, 17 Mar 2024 22:02:56 +0200 Subject: [PATCH] comment hello world --- examples/hello.S | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/examples/hello.S b/examples/hello.S index 0f7f952..b8e536c 100644 --- a/examples/hello.S +++ b/examples/hello.S @@ -1,8 +1,8 @@ - li8 r1, 1 - li8 r2, 1 - lra16 r3, r0, hello_string - li8 r4, 0x11 - eca + 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) tx hello_string: .db "Hello, AbleCorp!\n"