aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/arch
diff options
context:
space:
mode:
authorjohannst <johannes.stoelp@gmail.com>2020-09-24 23:20:32 +0200
committerjohannst <johannes.stoelp@gmail.com>2020-09-24 23:20:32 +0200
commit05bd41d95ac0af7dfffd1c5f1a9ac46a72a1adf2 (patch)
tree70b2bfd885952fdc64041856c7d2fd21b6680094 /src/arch
parentdc407a1f98feb56fac5a65736e6edfd6137ce2f6 (diff)
downloadnotes-05bd41d95ac0af7dfffd1c5f1a9ac46a72a1adf2.tar.gz
notes-05bd41d95ac0af7dfffd1c5f1a9ac46a72a1adf2.zip
fix asm code block
Diffstat (limited to 'src/arch')
-rw-r--r--src/arch/x86_64.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/arch/x86_64.md b/src/arch/x86_64.md
index 964bf00..f3d7088 100644
--- a/src/arch/x86_64.md
+++ b/src/arch/x86_64.md
@@ -66,7 +66,7 @@ lea rax, [rip+.my_str] // load addr of .my_str into rax
## Size directives
Explicitly specify size of the operation.
-```nasm
+```x86asm
mov byte ptr [rax], 0xff // save 1 byte(s) at [rax]
mov word ptr [rax], 0xff // save 2 byte(s) at [rax]
mov dword ptr [rax], 0xff // save 4 byte(s) at [rax]