diff options
author | johannst <johannes.stoelp@gmail.com> | 2020-09-24 23:20:32 +0200 |
---|---|---|
committer | johannst <johannes.stoelp@gmail.com> | 2020-09-24 23:20:32 +0200 |
commit | 05bd41d95ac0af7dfffd1c5f1a9ac46a72a1adf2 (patch) | |
tree | 70b2bfd885952fdc64041856c7d2fd21b6680094 /src/arch | |
parent | dc407a1f98feb56fac5a65736e6edfd6137ce2f6 (diff) | |
download | notes-05bd41d95ac0af7dfffd1c5f1a9ac46a72a1adf2.tar.gz notes-05bd41d95ac0af7dfffd1c5f1a9ac46a72a1adf2.zip |
fix asm code block
Diffstat (limited to 'src/arch')
-rw-r--r-- | src/arch/x86_64.md | 2 |
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] |