Add Assembly ARM aarch64 (#1123)
Co-authored-by: Richie Bendall <richiebendall@gmail.com>
This commit is contained in:
19
a/Assembler ARM aarch64.s
Normal file
19
a/Assembler ARM aarch64.s
Normal file
@@ -0,0 +1,19 @@
|
||||
.data
|
||||
|
||||
msg:
|
||||
.ascii "Hello World\n"
|
||||
len = . - msg
|
||||
|
||||
.text
|
||||
|
||||
.globl _start
|
||||
_start:
|
||||
mov x0, #1
|
||||
ldr x1, =msg
|
||||
ldr x2, =len
|
||||
mov w8, #64
|
||||
svc #0
|
||||
|
||||
mov x0, #0
|
||||
mov w8, #93
|
||||
svc #0
|
||||
Reference in New Issue
Block a user