############################################################ # # Defining where the start should be. # .global _start ############################################################ # # Start of the program. # _start: mov r7, #4 /*saying that we want to write information to the screen (stdout)*/ mov r0, #1 /*output to the monitor(sys_write)*/ ldr r8, =len mov r2, %r8 ldr r1, =helloworld /*Telling arm to print fromi the helloWorld lable*/ swi 0 /*syscall*/ mov r7, #1 /*sys_exit*/ mov r0, #2 /*returns a 2 for the value*/ swi 0 .data helloworld: .asciz "Hello, World! I luve u bb\n" len = . - helloworld