Files
assembly/armv6/tutorial/helloworld.s
2019-02-19 22:02:06 +01:00

17 lines
255 B
ArmAsm

.global _start
_start:
MOV R7, #4 @ system call to say we want to output
MOV R0, #1 @ use the window as output device
MOV R2, #12 @ length of our output message
LDR R1, =message
SWI 0
end:
MOV R7, #1
SWI 0
.data
message:
.ascii "Hello World\n"