@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @ Prints "hello world", each word on a separate line. @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ .globl _start _start: ldr r0,=0x101f1000 @ r0 := 0x 101f 1000. @ Any ASCII code stored on r0 gets printed mov r1, #'h' @ r1 := 104 'h' str r1,[r0] @ MEM[r0] := MEM[r1] - prints 'h' mov r1, #'e' @ r1 := 101 'e' str r1,[r0] mov r1,#'l' @ r1 := 108 'l' str r1,[r0] mov r1,#'l' @ r1 := 108 'l' str r1,[r0] mov r1,#'o' @ r1 := 111 'o' str r1,[r0] mov r1,#'\r' @ r1 := 13 '\r' str r1,[r0] mov r1,#'\n' @ r1 := 10 '\n' \r\n prints new line. str r1,[r0] mov r1,#'w' @ r1 := 119 'w' str r1,[r0] mov r1,#'o' @ r1 := 111 'o' str r1,[r0] mov r1,#'r' @ r1 := 114 'r' str r1,[r0] mov r1,#'l' @ r1 := 108 'l' str r1,[r0] mov r1,#'d' @ r1 := 100 'd' str r1,[r0] my_exit: @do infinite loop at the end b my_exit