17 lines
255 B
ArmAsm
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"
|