Компилятор и вм милана

This commit is contained in:
2025-05-22 15:19:31 +03:00
parent 9cad2ede63
commit 6da094ebbf
48 changed files with 6789 additions and 0 deletions

17
lab4/cmilan/test/gcd.mil Normal file
View File

@@ -0,0 +1,17 @@
/* Greatest common divisor */
BEGIN
a := READ;
b := READ;
WHILE a != b DO
IF a < b THEN
b := b - a
ELSE
a := a - b
FI
OD;
WRITE(a)
END