Browse Source

Version fonctionnel processeur non sécurisé

Paul Faure 2 years ago
parent
commit
749e245a51
4 changed files with 8 additions and 6 deletions
  1. 1
    1
      Interpreteur
  2. 1
    1
      InterpreteurRegistres
  3. 1
    1
      Processeur
  4. 5
    3
      max.c

+ 1
- 1
Interpreteur

@@ -1 +1 @@
1
-Subproject commit 725e0125079b6bde8ad032a3be21910980900ec4
1
+Subproject commit 95409eb5bff39457f161a6b93c2024d2fe8a90d1

+ 1
- 1
InterpreteurRegistres

@@ -1 +1 @@
1
-Subproject commit bff261fa01129da9135f95f16bf4124366ea24fe
1
+Subproject commit a4ecb5505dc66b71aee4d3d9ccccdbe17079f3d9

+ 1
- 1
Processeur

@@ -1 +1 @@
1
-Subproject commit ca762f57c7c544656eaea97ec391a5efd4ec401b
1
+Subproject commit f25ee2735abfbaf0cd46ea0236f2ef267e752ec7

+ 5
- 3
max.c View File

@@ -2,8 +2,9 @@ int print_alarm1() {
2 2
 	int j = 0;
3 3
 	while (j<5) {
4 4
 		printf(255);
5
-		stop(2);
5
+		stop(7);
6 6
 		printf(0);
7
+		stop(7);
7 8
 		j = j+1;
8 9
 	}
9 10
 }
@@ -12,15 +13,16 @@ int print_alarm2() {
12 13
 	int j = 0;
13 14
 	while (j<5) {
14 15
 		printf(170);
15
-		stop(2);
16
+		stop(7);
16 17
 		printf(85);
18
+		stop(7);
17 19
 		j = j+1;
18 20
 	}
19 21
 }
20 22
 
21 23
 int get_value() {
22 24
 	print_alarm2();
23
-	stop(10);
25
+	stop(100);
24 26
 	int i = get();
25 27
 	return i;
26 28
 }

Loading…
Cancel
Save