Lesson 1 – Hello world

	.global _start

_start:	
	mov x0, #1
	ldr x1, =msg
	ldr x2, =len
	mov x8, #64
	svc #0	

	mov x8,	#93
	mov x0, #0
	svc #0
	
msg:
	.ascii "hello world\n"
len = . - msg

Leave a comment

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.