From ba7d38240198ba854384328843da52a26209f488 Mon Sep 17 00:00:00 2001 From: johannst Date: Sun, 28 Nov 2021 22:26:50 +0000 Subject: deploy: 6660154d7eaae83f3e8765af8b93dcd651e05452 --- arch/arm64.html | 2 +- arch/armv7.html | 13 ++++++++----- arch/index.html | 6 +++--- arch/x86_64.html | 2 +- 4 files changed, 13 insertions(+), 10 deletions(-) (limited to 'arch') diff --git a/arch/arm64.html b/arch/arm64.html index d9ae7a4..17ce371 100644 --- a/arch/arm64.html +++ b/arch/arm64.html @@ -81,7 +81,7 @@ diff --git a/arch/armv7.html b/arch/armv7.html index a749404..f380dd1 100644 --- a/arch/armv7.html +++ b/arch/armv7.html @@ -81,7 +81,7 @@ @@ -212,10 +212,13 @@ blx <Rm> // absolute branch to address in register Rm &

Load/Store

Different addressing modes.

-
str r1, [r0]         // [r0]=r1
-str r1, [r0, #4]     // [r0+4]=r1
-str r1, [r0, #4]!    // r0+=4; [r0]=r1
-str r1, [r0], 4      // [r0]=r1; r0+=4
+
ldr r1, [r0]                // r1 = [r0]
+ldr r1, [r0, #4]            // r1 = [r0+4]
+
+ldr r1, [r0, #4]!           // pre-inc : r0+=4; r1 = [r0]
+ldr r1, [r0], #4            // post-inc: [r0] = r1; r0+=4
+
+ldr r0, [r1, r2, lsl #3]    // r0 = [r1 + (r2<<3)]
 

Load/store multiple registers full-descending.

stmfd r0!, {r1-r2, r5}    // r0-=4; [r0]=r5
diff --git a/arch/index.html b/arch/index.html
index 42dbcef..f7fa71d 100644
--- a/arch/index.html
+++ b/arch/index.html
@@ -81,7 +81,7 @@
 
         
@@ -164,7 +164,7 @@