aboutsummaryrefslogtreecommitdiff
path: root/cortex-m-rt/src/lib.rs
diff options
context:
space:
mode:
Diffstat (limited to 'cortex-m-rt/src/lib.rs')
-rw-r--r--cortex-m-rt/src/lib.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/cortex-m-rt/src/lib.rs b/cortex-m-rt/src/lib.rs
index 96d89dd..b90b124 100644
--- a/cortex-m-rt/src/lib.rs
+++ b/cortex-m-rt/src/lib.rs
@@ -517,8 +517,8 @@ cfg_global_asm! {
// If enabled, initialize RAM with zeros. This is normally not necessary but might be required
// on custom hardware.
#[cfg(feature = "zero-init-ram")]
- "ldr r0, =_ram_end
- ldr r1, =_ram_start
+ "ldr r0, =_ram_start
+ ldr r1, =_ram_end
movs r2, #0
0:
cmp r1, r0