From 465a520ca55f57654f7c287185d7e3bf92a0b0b2 Mon Sep 17 00:00:00 2001 From: tripoloski1337 Date: Tue, 15 Oct 2019 18:09:20 +0700 Subject: [PATCH 1/4] adding asm --- asm/README.md | 16 ++++++++++++++++ asm/program.asm | 16 ++++++++++++++++ 2 files changed, 32 insertions(+) create mode 100644 asm/README.md create mode 100644 asm/program.asm diff --git a/asm/README.md b/asm/README.md new file mode 100644 index 0000000..8593c8f --- /dev/null +++ b/asm/README.md @@ -0,0 +1,16 @@ +# Asm + +## Installation + * sudo apt install nasm + +## Compile + + ``` + nasm -elf32 program.asm -o program.o + ``` + + ``` + ld -m elf_i386 program.o -o HelloWorld + ``` + + diff --git a/asm/program.asm b/asm/program.asm new file mode 100644 index 0000000..2631df5 --- /dev/null +++ b/asm/program.asm @@ -0,0 +1,16 @@ +section .text + global _start + +_start: + mov eax, 4 + mov ebx, 1 + mov ecx, msg + mov edx, len + int 0x80 + + mov eax, 1 + int 0x80 + +section .data + msg db 'hello world !!', 0xa + len equ $ - msg \ No newline at end of file From d337908515e591efa53dd9f4fef9182d31b4b3a1 Mon Sep 17 00:00:00 2001 From: tripoloski1337 Date: Tue, 15 Oct 2019 18:15:21 +0700 Subject: [PATCH 2/4] fixing format --- asm/README.md | 19 ++++++------------- asm/screenshot.png | Bin 0 -> 22678 bytes 2 files changed, 6 insertions(+), 13 deletions(-) create mode 100644 asm/screenshot.png diff --git a/asm/README.md b/asm/README.md index 8593c8f..64b2591 100644 --- a/asm/README.md +++ b/asm/README.md @@ -1,16 +1,9 @@ -# Asm +# ASM -## Installation - * sudo apt install nasm - -## Compile - - ``` - nasm -elf32 program.asm -o program.o - ``` - - ``` - ld -m elf_i386 program.o -o HelloWorld - ``` +## Instructions +1. To run, make sure you have the go binaries installed on your machine. sudo apt install nasm +2. Run the using the command: ```nasm -f elf program.asm -o program.o``` and ```ld -m elf_i386 program.o -o HelloWorld``` +3. Working screenshot: +![screenshot](./screenshot.png?raw=true) \ No newline at end of file diff --git a/asm/screenshot.png b/asm/screenshot.png new file mode 100644 index 0000000000000000000000000000000000000000..a564c58c0b78c47eef7042df6d82c348a4b6c586 GIT binary patch literal 22678 zcmd?xb8uwQ_bB?V*DrREW%JxzdMSHZ zSQK6+$Lptf+j(GP`{4qAz=8Z5F0>%W_~l&roB=@pMi9`L1eUL*^ZY$tQXlYILYs&j zB;v9pVY{xyp#bCQCu_z2Pb(pht2P709T^8QZK~y>wa(TP>P?;=;2*U^pn)9-ahlFusgLid&;@W!)^31DIE@x=b)Z2 zd4m)P%53%hc1|J7SxMM5j3dE&?9_%L6XTEG^}SS|fWhKRf%=npj?bd6TihVNRyws; zDh>h4t0l!glwg0?i-_1GKmz};YHnPO0YW2|PGFvZf72^E&)ZC+2O47`CP=(JWYZcf zWFeOY8N;L+lV)?V^TU^(mWh|<*q9lxh>EaeexgBMC+2X?1-~FpHR9cdIqj$~6B6IP zOz&eD#$rO3y{TE-n9~rV%2C=&x0v370CppVWVW!>TtdgKg?SW3KBaN{%DG|Uv*kFv zTQmfpm0W@|`{!n7_ORmBry9^@wY}dMv1eVAPrliIs-TveS8drn^2lLb0yFXL8{j&iIjw+VC^rXr32cbdege{U;kn} z0>`D=J@s>0tkzur9?zS_L~GE_OJc_1Wh65x;S7x`M_b)1PHZ%`5s_L$NgM)Kkj4ms zL8>3MJ(N9bZNgnbP^QY_r}G4=+Hew7Gy!y7;7#_94B$FI68}S_Ze&qF(WR-2BC& zcHw^5?kSC~BNV4wb7^FeKO01~?#%_M+izdoVxy&5b~Zj!i?OC!isvhtFLjLhnqIw} z0fpE2ylU2EwUKq}1QM0bm`ICb_&kDrY1*Mdu-N0x0sV~F^mxh~9>quBwKD^j^tdQe z5OC|57IcBn1#cB;!_6XMbX#5XnMg$;t)U+6`Zzyh6Vrr3VQ`-pNZMet$ce11Tx+)) zqv0{%Bhachfzh>26i*rRwnohU8%ps0dji#M-oB+V$kQ zR4akH`l{vrv9tx7lzgiXewFs-eYm7i><5OV3)HjJi6sCEJdQ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F0!WxlLAYs?v(ZWdt&(yekv`G5b8mjm#wQ5<%fIu1((d?0c}S0TDU+ zr>Ff|V}#8_o4!4s>3KdVsuCO&vB10EC~k}pvhT3r&azqKRMKB`D|X%*WbrW|qC)%p zze^l=-~VST#l6!nfVG=Lcue_y37FB#poh#@IF8Hs(wf3W)4kDD9xD601i99xRQ(x@ z_W#X2Lv!8y8w&@-0iI+C$Fw|T6_OzQPiIfAL;|e8$D2nh{wD=Wv;j-S4_Fxgoej|w z6@1~;%uiU***%fKgvW%7i5Uu#1A@qgfZo|JpM+RS6v~k)kj_K+MA54!bT}AhEVQ1; mNtFXM7))sNfc|d=?r5h@e$)-y983eAhN7&ROs%we`2PcX!$a)= literal 0 HcmV?d00001 From 44ef37d48f26ade1180d7314283c9b5f6db1e3cf Mon Sep 17 00:00:00 2001 From: tripoloski1337 Date: Tue, 15 Oct 2019 18:16:34 +0700 Subject: [PATCH 3/4] fixing format --- asm/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/asm/README.md b/asm/README.md index 64b2591..3815870 100644 --- a/asm/README.md +++ b/asm/README.md @@ -1,7 +1,7 @@ # ASM ## Instructions -1. To run, make sure you have the go binaries installed on your machine. sudo apt install nasm +1. To run, make sure you have the compiler installed on your machine. sudo apt install nasm 2. Run the using the command: ```nasm -f elf program.asm -o program.o``` and ```ld -m elf_i386 program.o -o HelloWorld``` 3. Working screenshot: From 839cba5daab73584a479812a75604e85854ae622 Mon Sep 17 00:00:00 2001 From: tripoloski1337 Date: Tue, 15 Oct 2019 18:17:07 +0700 Subject: [PATCH 4/4] fixing format --- asm/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/asm/README.md b/asm/README.md index 3815870..8e25f76 100644 --- a/asm/README.md +++ b/asm/README.md @@ -1,7 +1,7 @@ # ASM ## Instructions -1. To run, make sure you have the compiler installed on your machine. sudo apt install nasm +1. To run, make sure you have the compiler installed on your machine. ```sudo apt install nasm``` 2. Run the using the command: ```nasm -f elf program.asm -o program.o``` and ```ld -m elf_i386 program.o -o HelloWorld``` 3. Working screenshot: