//************************************************************************ // Program Name : Basic program to print "Hello Wolrd!!!\n" on the Screen // Programmer : Petros Panayi Stud. ID: 000000 // Date Modif. : 1 Sep 2017 //************************************************************************ // Comments: A simple program that prints a string message on the screen // and the terminates //************************************************************************ .data // The Start of the .data Segment Hello_Label: .string "Hello Wolrd!!!\n" //************************************************************************ .text // The Start of the .test Segment .global main main: stp x29, x30, [sp, -16]! add x29, sp, 0 adrp x0, Hello_Label add x0, x0, :lo12:Hello_Label bl printf ldp x29, x30, [sp], 16 ret //**********************************************************************