.data                   /* section declaration */
hello_string:
    .asciz "Hello, World!\n"  /* null-terminated string */

.text                   /* section declaration */
.global _start          /* entry point for the program */

_start:                 /* _start label */
    /* Write syscall */
    mov r0, #1          /* file descriptor (stdout) */
    ldr r1, =hello_string /* pointer to the string */
    mov r2, #14         /* string length */
    mov r7, #4          /* syscall number for sys_write */
    swi 0               /* invoke syscall */

    /* Exit syscall */
    mov r0, #0          /* exit status */
    mov r7, #1          /* syscall number for sys_exit */
    swi 0               /* invoke syscall */