summaryrefslogtreecommitdiff
path: root/main.asm
diff options
context:
space:
mode:
authorArslaan Pathan <[email protected]>2026-09-30 12:55:17 +1300
committerArslaan Pathan <[email protected]>2026-09-30 12:55:17 +1300
commita507b664386b1e8319acd4832d100a2fcc7ba90b (patch)
tree55e7f1b6b752edeb318bc1dd931bf1cb5bcb6094 /main.asm
parent7e9043d484c30d018a012f835dda5eae9fa17860 (diff)
downloadx86-asm-a507b664386b1e8319acd4832d100a2fcc7ba90b.tar.xz
x86-asm-a507b664386b1e8319acd4832d100a2fcc7ba90b.zip
fix makefile and fix accidental git thing in main.asmHEADmain
Diffstat (limited to 'main.asm')
-rw-r--r--main.asm15
1 files changed, 0 insertions, 15 deletions
diff --git a/main.asm b/main.asm
index 1b3f997..104bf71 100644
--- a/main.asm
+++ b/main.asm
@@ -1,17 +1,3 @@
-<<<<<<< HEAD
-global _start
-
-section .text
-_start:
- mov ebx, 1 ; start at 1
- mov ecx, 4 ; num iterations
-label:
- add ebx, ebx ; ebx += ebx
- dec ecx ; ecx -= 1
- cmp ecx, 0 ; compare ecx with 0
- jg label ; jump if greater than label
-
-=======
global main
extern printf
@@ -28,4 +14,3 @@ main:
mov eax, 0
add rsp, 8
ret
->>>>>>> 181d482 (Initial commit (i got too carried away with asm and forgot to commit))