Add Assembly ARM aarch64 (#1123)

Co-authored-by: Richie Bendall <richiebendall@gmail.com>
This commit is contained in:
Henistein
2021-08-01 04:31:40 +01:00
committed by GitHub
parent bded46cd21
commit 0c02a37ddd
2 changed files with 21 additions and 1 deletions

19
a/Assembler ARM aarch64.s Normal file
View 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