From a707c5f35436b624afde514cce8e9a1e3586c2fb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rare=C8=99-Contantin=20R=C3=8EJNI=C8=9A=C4=82?= <rares.rijnita@stud.acs.upb.ro> Date: Sun, 30 Mar 2025 05:52:52 +0300 Subject: [PATCH] Solved refs. --- checker/ref/18-transpiler.ref | 8 ++++---- checker/ref/19-transpiler.ref | 16 ++++++++-------- 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/checker/ref/18-transpiler.ref b/checker/ref/18-transpiler.ref index 9e0ba8d..6323610 100644 --- a/checker/ref/18-transpiler.ref +++ b/checker/ref/18-transpiler.ref @@ -5,7 +5,7 @@ JGE end_label SHL ecx, 13 ADD edx, 1 JMP start_loop -end_loop: +end_label: MOV eax, 0 start_loop: CMP eax, 70 @@ -19,7 +19,7 @@ OR ecx, 80 MOV ecx, eax ADD eax, 1 JMP start_loop -end_loop: +end_label: MOV edx, 0 start_loop: CMP edx, 14 @@ -28,7 +28,7 @@ SHR edx, 5 SUB edx, eax ADD edx, 1 JMP start_loop -end_loop: +end_label: MOV ecx, 0 start_loop: CMP ecx, 23 @@ -39,4 +39,4 @@ MOV ecx, eax AND edx, 93 ADD ecx, 1 JMP start_loop -end_loop: +end_label: diff --git a/checker/ref/19-transpiler.ref b/checker/ref/19-transpiler.ref index e210623..b5d3b3b 100644 --- a/checker/ref/19-transpiler.ref +++ b/checker/ref/19-transpiler.ref @@ -9,7 +9,7 @@ MUL 6 MOV ebx, eax ADD edx, 1 JMP start_loop -end_loop: +end_label: MOV ebx, 0 start_loop: CMP ebx, 75 @@ -20,7 +20,7 @@ SUB edx, ecx MOV edx, 69 ADD ebx, 1 JMP start_loop -end_loop: +end_label: MOV ebx, 0 start_loop: CMP ebx, 86 @@ -28,7 +28,7 @@ JG end_label MUL 2 ADD ebx, 1 JMP start_loop -end_loop: +end_label: MOV eax, 0 start_loop: CMP eax, 66 @@ -38,7 +38,7 @@ MOV eax, 92 SHR ebx, 21 ADD eax, 1 JMP start_loop -end_loop: +end_label: MOV edx, 0 start_loop: CMP edx, 79 @@ -54,7 +54,7 @@ MOV edx, eax SHL ecx, 11 ADD edx, 1 JMP start_loop -end_loop: +end_label: MOV edx, 0 start_loop: CMP edx, 47 @@ -64,7 +64,7 @@ MUL 10 MOV ecx, eax ADD edx, 1 JMP start_loop -end_loop: +end_label: MOV ecx, 0 start_loop: CMP ecx, 29 @@ -75,7 +75,7 @@ SHL edx, 30 MOV ecx, 9 ADD ecx, 1 JMP start_loop -end_loop: +end_label: MOV ecx, 0 start_loop: CMP ecx, 94 @@ -92,4 +92,4 @@ MUL 8 MOV edx, eax ADD ecx, 1 JMP start_loop -end_loop: +end_label: -- GitLab