mirror of
https://github.com/ProdigyReloaded/tbol-toolchain.git
synced 2026-11-28 14:38:11 -08:00
- TODO.md: decompiler emits a truncated vars list when DATA contains a struct overlay (ENPHSTAC), breaking best-effort round-trip; fix is to size vars from the highest referenced register or the COD data-area size. - Compiler/formatter/lexer modifications committed as-is with this batch.
20 lines
358 B
Plaintext
20 lines
358 B
Plaintext
{ Program 'CLWHL' compiled with TBOL COMPILER version 04.21 }
|
|
{ Date Program compiled 03/17/26 18:05 }
|
|
{ Original file call_in_while.cod }
|
|
{ md5sum 7acd80521813154fd178297a08040d4f }
|
|
|
|
PROGRAM CLWHL;
|
|
|
|
PROC main =
|
|
MOVE 0, I1;
|
|
label_5:
|
|
CJGE I1, 5, label_20;
|
|
proc_1 I1;
|
|
JUMP label_5;
|
|
label_20:
|
|
END_PROC
|
|
|
|
PROC proc_1 =
|
|
ADD 1, P1;
|
|
END_PROC
|