From 030fb134631cf678d0974b1fe34d1c723bc5a489 Mon Sep 17 00:00:00 2001 From: Oussama Hannouch Date: Tue, 23 May 2023 21:53:10 +0200 Subject: [PATCH] Update 'soft/PjtKEIL_StepSon/Src/GestionSon.s' --- soft/PjtKEIL_StepSon/Src/GestionSon.s | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/soft/PjtKEIL_StepSon/Src/GestionSon.s b/soft/PjtKEIL_StepSon/Src/GestionSon.s index d3fe34f..b9a52ef 100644 --- a/soft/PjtKEIL_StepSon/Src/GestionSon.s +++ b/soft/PjtKEIL_StepSon/Src/GestionSon.s @@ -33,8 +33,7 @@ SortieSon dcw 0 EXPORT CallbackSon StartSon proc - ; Charger la valeur 0 dans le registre r0 - mov r0, #0 + mov r0, #0 ; Charger la valeur 0 dans le registre r0 ldr r1, =Son_index ; Charger l'adresse de la variable Son_index dans le registre r1 str r0, [r1] ; Stocker la valeur de r0 dans la variable Son_index bx lr ; Retourner à l'appelant