mirror of
https://github.com/pkivolowitz/asm_book.git
synced 2026-06-21 06:16:47 +08:00
14 lines
234 B
ArmAsm
14 lines
234 B
ArmAsm
.text
|
|
.global main
|
|
.align 2
|
|
|
|
main: str x30, [sp, -16]!
|
|
ldr x0, =hw
|
|
bl puts
|
|
ldr x30, [sp], 16
|
|
ret
|
|
|
|
.data
|
|
hw: .asciz "Hello World!"
|
|
|
|
.end
|