Hello world/Text is part of Short Circuit's Console Program Basics selection.
Task

Display the string Hello world! on a text console.

Related tasks

   Hello world/Graphical
   Hello world/Line Printer
   Hello world/Newbie
   Hello world/Newline omission
   Hello world/Standard error
   Hello world/Web server


.global main
 
message:
    .asciz "Hello world!\n"
    .align 4
 
main:
    ldr r0, =message
    bl printf
 
    mov r7, #1
    swi 0