Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
18 lines (14 sloc) 332 Bytes
.data
string: .asciz "Hello World!\n"
len = . - string
.text
.global _start
_start:
mov r0, #1 @ stdout
ldr r1, =string @ string address
ldr r2, =len @ string length
mov r7, #4 @ write syscall
swi 0 @ execute syscall
_exit:
mov r7, #1 @ exit syscall
swi 0 @ execute syscall