summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSuleyman Farajli <suleyman@farajli.net>2025-01-03 20:48:55 +0400
committerSuleyman Farajli <suleyman@farajli.net>2025-01-03 20:48:55 +0400
commit162a641ed34ebc68fa1f30a32c698695146f0d86 (patch)
tree5c0b6755d2b663d73f334a7087ef458bc82fa4de
parentce0848eaab247463fe7f469059c326de95d45def (diff)
tabs added to boilerPlateExit in assembly creation
-rw-r--r--src/main.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/main.go b/src/main.go
index e296eba..41097de 100644
--- a/src/main.go
+++ b/src/main.go
@@ -266,9 +266,9 @@ func mapX86_64linux(op Operation) string{
buf += "_start:\n"
case "boilerPlateExit":
- buf += "mov rdi, 0\n"
- buf += "mov rax, 60\n"
- buf += "syscall\n"
+ buf += "\tmov rdi, 0\n"
+ buf += "\tmov rax, 60\n"
+ buf += "\tsyscall\n"
case "dumpFunc":
buf += ".dump:\n"