From 742d547091f39c01c6264cf7fd30091c1f0a1009 Mon Sep 17 00:00:00 2001 From: rosshjb Date: Tue, 5 Nov 2024 22:26:12 +0900 Subject: [PATCH] fix: incorrect order of stack operations --- Chapter 12/codesnippets.s | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Chapter 12/codesnippets.s b/Chapter 12/codesnippets.s index 03358d1..5b8cfe5 100644 --- a/Chapter 12/codesnippets.s +++ b/Chapter 12/codesnippets.s @@ -12,8 +12,8 @@ _start: l1: STP Q8, Q9, [SP, #-32]! STR Q10, [SP, #-16]! - LDP Q8, Q9, [SP], #32 LDR Q10, [SP], #16 + LDP Q8, Q9, [SP], #32 l2: ADRP X1, fp1@PAGE ADD X1, X1, fp1@PAGEOFF