From 95d43f6757cb4a854549674081323ec6c7112f3c Mon Sep 17 00:00:00 2001 From: Oussama El-Jid Date: Tue, 11 Apr 2023 00:07:39 +0200 Subject: [PATCH] =?UTF-8?q?Mettre=20=C3=A0=20jour=20'BE-chti=20C/soft/PjtK?= =?UTF-8?q?EIL=5FStepSon/Src/GestionSon.s'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- BE-chti C/soft/PjtKEIL_StepSon/Src/GestionSon.s | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/BE-chti C/soft/PjtKEIL_StepSon/Src/GestionSon.s b/BE-chti C/soft/PjtKEIL_StepSon/Src/GestionSon.s index ba97e0f..2aeffb2 100644 --- a/BE-chti C/soft/PjtKEIL_StepSon/Src/GestionSon.s +++ b/BE-chti C/soft/PjtKEIL_StepSon/Src/GestionSon.s @@ -1,8 +1,12 @@ PRESERVE8 THUMB + import Son + import PeriodeSonMicroSec + import LongueurSon -; ====================== zone de réservation de données, ====================================== + +; ====================== zone de réservation de données, ====================================== ;Section RAM (read only) : area mesdata,data,readonly @@ -26,7 +30,7 @@ Index equ 0 ;Section ROM code (read only) : area moncode,code,readonly -; écrire le code ici +; écrire le code ici ;short int SortieSon; ;int LongueurSon 5512 @@ -43,7 +47,7 @@ Index equ 0 CallbackSon proc push {lr} - ldr r0,=son ; tableau de données + ldr r0,=son ; tableau de données ldr r1,=SortieSon ; resultat ldr r2,[r1,#LongueurSon] ; point fini