From 06fca94a961d02e715106c6d14212512a7add374 Mon Sep 17 00:00:00 2001 From: zombie Date: Tue, 7 Sep 2021 06:55:26 -0400 Subject: [PATCH] hello world test --- helloworld/hello | Bin 0 -> 8840 bytes helloworld/hello.asm | 16 ++++++++++++++++ helloworld/hello.o | Bin 0 -> 848 bytes 3 files changed, 16 insertions(+) create mode 100755 helloworld/hello create mode 100644 helloworld/hello.asm create mode 100644 helloworld/hello.o diff --git a/helloworld/hello b/helloworld/hello new file mode 100755 index 0000000000000000000000000000000000000000..6dab3889d4a9068079dfafd4a48f58aef4000f70 GIT binary patch literal 8840 zcmeI2J5Iwu5QZntLjfW%1ribz8&N=&ngXFTpcM3!k)v2jkr2st0TtKb2o?ogg_4#N zz|8K96O5psL;Ndc|9Qr{Un*z!{^IH~YBb13MCatac<4i6ChGRBf@nym)a1ECZC~43 zrP#8Lps$)Ur8orS8ErAuCw-pjaVR5GtCPNtCjMDjh>8_XAe7gD57UUm-7QMaKYqoqKTAjmd!5(WYw*%~4U*mGzA5%m< zJGa;P;WzOkjmNcmn#sZkNxq;Wy)9@wp5*yBFOrPybea?i%gvN%kl!teWWrixL1$+9 z#(}TZRs3EKxK$YWy9x3&wr{=PP~BsY91pwp5Imwj8`9sjfbG|XKy{x%^PlfrgkJs? wzKqy~(1T{APoB|Le_wS&uNB{r; literal 0 HcmV?d00001 diff --git a/helloworld/hello.asm b/helloworld/hello.asm new file mode 100644 index 0000000..5fa0fa0 --- /dev/null +++ b/helloworld/hello.asm @@ -0,0 +1,16 @@ +section .data + text db "Hello World",10 + +section .text + global _start + +_start: + mov rax, 1 + mov rdi, 1 + mov rsi, text + mov rdx, 14 + syscall + + mov rax, 60 + mov edi, 0 + syscall diff --git a/helloworld/hello.o b/helloworld/hello.o new file mode 100644 index 0000000000000000000000000000000000000000..416f624ac4ce5e938f8ddb6b2768e33888900aad GIT binary patch literal 848 zcmbVKv2MaZ40Q;UsuaiuTf23O5OY;!0WoxEL{|}sArVq?Lz&FC5p;W;)vSh-?0A+(F?0msZrE>R%M$Cw;3b< zLGgj)ziD3KF5^mX<|4@-E4`l0fWM3Mk8&sEUf33UtVh8^@h|M_`UgUy{;lc$xSyU0 z^drf4eW1aSbpKhLBr{U23&k9(f1-0Opr=L@Fdx+DX@!A=CQs>l SrA2N{X3JB!_lSzsZbTP>JSl?! literal 0 HcmV?d00001