From 162a641ed34ebc68fa1f30a32c698695146f0d86 Mon Sep 17 00:00:00 2001 From: Suleyman Farajli Date: Fri, 3 Jan 2025 20:48:55 +0400 Subject: tabs added to boilerPlateExit in assembly creation --- src/main.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src') 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" -- cgit v1.2.3