From cac13d37bd174a83d9c812c4903f89bf2084239c Mon Sep 17 00:00:00 2001 From: Haowen Liu Date: Wed, 28 Dec 2022 16:05:15 -0800 Subject: [PATCH] Init --- 3-1.s | 9 +++++++++ exit | Bin 0 -> 4696 bytes exit.o | Bin 0 -> 760 bytes 3 files changed, 9 insertions(+) create mode 100644 3-1.s create mode 100755 exit create mode 100644 exit.o diff --git a/3-1.s b/3-1.s new file mode 100644 index 0000000..caf5efc --- /dev/null +++ b/3-1.s @@ -0,0 +1,9 @@ +.section .data + +.section .text +.globl _start + +_start: + movl $1, %eax + movl $0, %ebx + int $0x80 diff --git a/exit b/exit new file mode 100755 index 0000000000000000000000000000000000000000..8627193fa1ce0791fa427ba852f31e98d17c0431 GIT binary patch literal 4696 zcmeHLy-LJD5T3;QQBa6rq1faJf`x^Zq){6YL99cL1Z~V6$qILsmcE8>A=vl=_P&7c z;ml^f^OOt1RTi_b`|bDb&d%=F?L3^EpN2s|XdxYwXHn{A;J8WMAcK?~gKe zwE-_g{M*I<9Q!2P>v0On<5q{h)1gzAjhZHFTwXiM$|83;LsbwZ&Fs$QBSu%Zc#Byz zc4cx?-6xZJJSl58qr{a{_v0cfl6{UFa_1NOhWY~P4yZ5aGNH}@p72Dx5#M~9*Ed=^ zuWRTs>Iq7HEOJ8=jI@3-RS~ra{{@Ox BFnRz0 literal 0 HcmV?d00001 diff --git a/exit.o b/exit.o new file mode 100644 index 0000000000000000000000000000000000000000..5bfb1c24c81d385e93d809a233cb8f1be1271d6c GIT binary patch literal 760 zcmbVIyKcfj5Zp825h(?9k!VOogHHJZa6@PiN|PEH#e#;1>_vhqd{RoJH2H!24<$SC zt*}Ic6WU1`x;N*BIiiqXh=7uRieu+rT9OOsYOjXWB3P!zZ1>}VNX~WPG%nz zk^4nW;exKZLuU}tZ&z(H&pFAM$mhp3Cku(36>+5*rw1ngnQ%gWk>}($TTcCQv-i7f zyGt`ZmT$T*?}i;4#vTX#Wa{>RU!;#(&CE@WR%!ixX|#m*`Um1|3L{||??Jqli<0B6 xGO&;JqJP36P(R)Wv+93FQ}8IXyQBV%L!k48D!!pPVn&h^B|rcG literal 0 HcmV?d00001 -- 2.45.2