From d65aa977b82aef6498bb31019fa00abcbcac75b8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi?= <33205215+remimimimi@users.noreply.github.com> Date: Tue, 22 Jun 2021 09:55:27 +0300 Subject: [PATCH] v.gen.native: cleanup, remove unused hi.s (#10538) --- vlib/v/gen/native/hi.s | 27 --------------------------- 1 file changed, 27 deletions(-) delete mode 100644 vlib/v/gen/native/hi.s diff --git a/vlib/v/gen/native/hi.s b/vlib/v/gen/native/hi.s deleted file mode 100644 index 2b6155c006..0000000000 --- a/vlib/v/gen/native/hi.s +++ /dev/null @@ -1,27 +0,0 @@ -// -// Assembler program to print "Hello World!" -// to stdout. -// -// X0-X2 - parameters to Unix system calls -// X16 - Mach System Call function number -// - -.global _start // Provide program starting address to linker -.align 4 // Make sure everything is aligned properly - -// Setup the parameters to print hello world -// and then call the Kernel to do it. -_start: mov X0, #1 // 1 = StdOut - adr X0, helloworld // string to print - //mov X2, #13 // length of our string - bl _puts - //mov X16, #4 // Unix write system call - //svc #0x80 // Call kernel to output the string - -// Setup the parameters to exit the program -// and then call the kernel to do it. - mov X0, #0 // Use 0 return code - mov X16, #1 // System call number 1 terminates this program - svc #0x80 // Call kernel to terminate the program - -helloworld: .ascii "Hello World!\n"