diff --git a/soft/PjtKEIL_StepDeb_1/BacASable.uvoptx b/soft/PjtKEIL_StepDeb_1/BacASable.uvoptx
index ed76561..4010242 100644
--- a/soft/PjtKEIL_StepDeb_1/BacASable.uvoptx
+++ b/soft/PjtKEIL_StepDeb_1/BacASable.uvoptx
@@ -10,7 +10,7 @@
*.s*; *.src; *.a*
*.obj; *.o
*.lib
- *.txt; *.h; *.inc
+ *.txt; *.h; *.inc; *.md
*.plm
*.cpp
0
@@ -75,7 +75,7 @@
1
0
- 1
+ 0
18
@@ -154,6 +154,21 @@
+
+
+ 0
+ 1
+ VarTime
+
+
+
+
+ 1
+ 0
+ 0x20000000
+ 0
+
+
0
@@ -174,7 +189,7 @@
0
0
0
- 0
+ 1
0
0
0
@@ -196,6 +211,18 @@
+
+
+ 0
+ ((portb & 0x00000002) >> 1 & 0x2) >> 1
+ FF000000000000000000000000000000E0FFEF400100000000000000000000000000000028706F7274622026203078303030303030303229203E3E2031000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000100000001000000000000000000E03F1000000000000000000000000000000000000000DE030008
+
+
+ 1
+ `VarTime
+ 0080000000000000000000000000000040772B410000000000000000000000000000000056617254696D65000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000100000002000000000000000000E03F1000000000000000000000000000000000000000DC030008
+
+
1
0
@@ -260,7 +287,7 @@
1
0
- 0
+ 1
18
@@ -339,11 +366,18 @@
+
+
+ 0
+ 1
+ VarTime
+
+
1
257
- r0
+ 0x20000000
0
diff --git a/soft/PjtKEIL_StepDeb_1/BacASable.uvprojx b/soft/PjtKEIL_StepDeb_1/BacASable.uvprojx
index 9c192f5..2318c0c 100644
--- a/soft/PjtKEIL_StepDeb_1/BacASable.uvprojx
+++ b/soft/PjtKEIL_StepDeb_1/BacASable.uvprojx
@@ -10,7 +10,7 @@
Simu
0x4
ARM-ADS
- 5060750::V5.06 update 6 (build 750)::.\ARMCC
+ 5060960::V5.06 update 7 (build 960)::.\ARMCC
0
@@ -424,7 +424,7 @@
CibleSondeKEIL
0x4
ARM-ADS
- 5060750::V5.06 update 6 (build 750)::.\ARMCC
+ 5060960::V5.06 update 7 (build 960)::.\ARMCC
0
@@ -1338,11 +1338,6 @@
<Project Info>
-
-
-
-
-
0
1
diff --git a/soft/PjtKEIL_StepDeb_1/Src/Delay.s b/soft/PjtKEIL_StepDeb_1/Src/Delay.s
index bf49175..12b0ca8 100644
--- a/soft/PjtKEIL_StepDeb_1/Src/Delay.s
+++ b/soft/PjtKEIL_StepDeb_1/Src/Delay.s
@@ -10,17 +10,17 @@
;Section RAM (read write):
area maram,data,readwrite
-VarTime dcd 0
+VarTime dcd 0 ; short_int* VarTime = malloc() memset(VarTime,0,sizeof...)
; ===============================================================================================
;constantes (équivalent du #define en C)
-TimeValue equ 900000
+TimeValue equ 900000 ; #define TIMEVALUE 900000
EXPORT Delay_100ms ; la fonction Delay_100ms est rendue publique donc utilisable par d'autres modules.
-
+ EXPORT VarTime
;Section ROM code (read only) :
area moncode,code,readonly
@@ -39,21 +39,23 @@ TimeValue equ 900000
;
; et donc possède un intérêt pour débuter en ASM pur
-Delay_100ms proc
+Delay_100ms proc ; procédure
- ldr r0,=VarTime
+ ldr r0,=VarTime ; *r0 = VarTime (= 0)
- ldr r1,=TimeValue
- str r1,[r0]
+ ldr r1,=TimeValue ; *r1 = TimeValue
+ str r1,[r0] ; met la valeur TimeValue stockée dans R1 dans l'adresse mémoire
+ ; spécifiée dans R0
BoucleTempo
- ldr r1,[r0]
+ ldr r1,[r0] ; r1 = *r0
- subs r1,#1
- str r1,[r0]
- bne BoucleTempo
+ subs r1,#1 ; r1 = r1 - 1 (avec retenue)
+ str r1,[r0] ; same que en haut
+ bne BoucleTempo ; branchement qui appelle BoucleTempo si
+ ; l'instruction d'avant est non equal
- bx lr
+ bx lr ; retour de fonction
endp