From 05bd41d95ac0af7dfffd1c5f1a9ac46a72a1adf2 Mon Sep 17 00:00:00 2001 From: johannst Date: Thu, 24 Sep 2020 23:20:32 +0200 Subject: fix asm code block --- src/arch/x86_64.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/arch') 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] -- cgit v1.2.3