From bac8a5d2822835cf47175d1162030653fadd5c09 Mon Sep 17 00:00:00 2001
From: johannst
Date: Thu, 15 Feb 2024 23:29:57 +0000
Subject: deploy: 4485708c972815bbb6df7f5a228683aa855d553d
---
arch/x86_64.html | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
(limited to 'arch/x86_64.html')
diff --git a/arch/x86_64.html b/arch/x86_64.html
index 848de4f..210e8a4 100644
--- a/arch/x86_64.html
+++ b/arch/x86_64.html
@@ -250,7 +250,7 @@ mov rax, qword ptr [rbx+4*rcx] // load val at [rbx+4*rcx] into rax
lea rax, [rip+.my_str] // load addr of .my_str into rax
...
.my_str:
-.asciz "Foo"
+.asciz "Foo"
Load effective address:
mov rax, 2
@@ -300,7 +300,7 @@ mov al, 0xaa
mov cx, 0x10
rep stosb
-
+
- Integer/Pointer arguments
@@ -471,7 +471,7 @@ must must save these registers in case they are used.
.intel_syntax noprefix
- .section .text, "ax", @progbits
+ .section .text, "ax", @progbits
.global _start
_start:
mov rdi, 1 # fd
@@ -484,9 +484,9 @@ _start:
mov rax, 60 # exit(2) syscall nr
syscall
- .section .rdonly, "a", @progbits
+ .section .rdonly, "a", @progbits
greeting:
- .asciz "Hi ASM-World!\n"
+ .asciz "Hi ASM-World!\n"
greeting_len:
.int .-greeting
@@ -499,7 +499,7 @@ Hi ASM-World!