From aa6202612f1fdc2b04633e21e2d97c939f3488ad Mon Sep 17 00:00:00 2001 From: dp111 <19616418+dp111@users.noreply.github.com> Date: Thu, 29 Feb 2024 20:33:58 +0000 Subject: [PATCH] copro-65tubeasm.S : make 64bit stack alignment clearer --- src/copro-65tubeasm.S | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/copro-65tubeasm.S b/src/copro-65tubeasm.S index 1d7f2470..a0361aff 100644 --- a/src/copro-65tubeasm.S +++ b/src/copro-65tubeasm.S @@ -343,13 +343,13 @@ add r0, regPC, #1 ldrb temp1, [regPC, #1] mrs temp2, CPSR - push {temp2} + push {temp1,temp2} orr temp2, temp2, #ARM_INT_MASK msr CPSR_c, temp2 - push {r2-r12} + push {r3-r12} bl copro_65tube_trace - pop {r2-r12} - pop {temp2} + pop {r3-r12} + pop {temp1,temp2} msr CPSR, temp2 .endm