From 351e5755d1bc23816eaeba65840ca248019eec10 Mon Sep 17 00:00:00 2001 From: Oussama Hannouch Date: Mon, 10 Apr 2023 23:54:20 +0200 Subject: [PATCH] Update 'soft/PjtKEIL_StepSon/Src/GestionSon.s' --- soft/PjtKEIL_StepSon/Src/GestionSon.s | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/soft/PjtKEIL_StepSon/Src/GestionSon.s b/soft/PjtKEIL_StepSon/Src/GestionSon.s index ba97e0f..5e5d7e9 100644 --- a/soft/PjtKEIL_StepSon/Src/GestionSon.s +++ b/soft/PjtKEIL_StepSon/Src/GestionSon.s @@ -1,8 +1,13 @@ PRESERVE8 THUMB + import LongueurSon + import PeriodeSonMicroSec + import Son + + include Driver/DriverJeuLaser.inc -; ====================== zone de réservation de données, ====================================== +; ====================== zone de réservation de données, ====================================== ;Section RAM (read only) : area mesdata,data,readonly @@ -26,7 +31,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 +48,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