From 2b76da0df5f8c8ebd103bdd1d41eb4b5189d7e53 Mon Sep 17 00:00:00 2001 From: johannst Date: Wed, 11 Jan 2023 15:48:12 +0000 Subject: deploy: 0c50a95dc93471cf69f522adfc31ff4c56c53e9d --- arch/x86_64.html | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'arch/x86_64.html') diff --git a/arch/x86_64.html b/arch/x86_64.html index 4f3c6ce..94de965 100644 --- a/arch/x86_64.html +++ b/arch/x86_64.html @@ -80,7 +80,7 @@ @@ -220,6 +220,10 @@ mov rax, qword ptr [rbx+4*rcx] // load val at [rbx+4*rcx] into rax .my_str: .asciz "Foo" +

Load effective address:

+
mov rax, 2
+lea r11, [rax + 3]   // r11 <- 5
+

String instructions

The operand size of a string instruction is defined by the instruction suffix b | w | d | q.

-- cgit v1.2.3