/* Sm1 - Program test functionare asamblor pentru procesorul ARM A53 - 64 bits Quad Core din structura Raspberry Pi Zero 2 W. Asamblare cu optiuni DBG: >as -g -o sm1.o sm1.s Linkeditare: >ld -o sm1 sm1.o Lansare in executie: >./sm1 */ .data // segment date/variabile msg: .ascii "Hello World ARM A53 - V8 la SM\n" len = . - msg .text // segment de cod .globl _start _start: mov x0, #1 // apel functie system STDOUT ldr x1, =msg // pointer mesaj ldr x2, =len // lungime mesaj mov x8, #64 // apel syscall #64 svc #0 // syscall mov x0, #0 // apel functie revenire in sistem mov x8, #93 // apel syscall #93 svc #0 // syscall