diff --git a/hello.s b/hello.s deleted file mode 100644 index 1a6b2b7..0000000 --- a/hello.s +++ /dev/null @@ -1,16 +0,0 @@ -.section .text -.globl _hello - -_hello: - # Write the string "Hello, World!\n" to stdout - la a0, msg # Load the address of the string into a0 - li a7, 4 # syscall number for write - li a1, 13 # Length of the string - li a2, 1 # File descriptor: stdout - ecall # Make the system call to write - - ret # Return from the function - -.section .data -msg: - .ascii "Hello, World!\n"