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.
25 lines
506 B
Plaintext
25 lines
506 B
Plaintext
{ Program 'WHNDP' compiled with TBOL COMPILER version 04.21 }
|
|
{ Date Program compiled 03/17/26 18:06 }
|
|
{ Original file while_nested_deep.cod }
|
|
{ md5sum 1e918e4b1cdc2bc54b20e89a7bc597c5 }
|
|
|
|
PROGRAM WHNDP;
|
|
|
|
PROC main =
|
|
CJNE RDA0, '1', label_50;
|
|
label_7:
|
|
CJNE RDA1, '2', label_42;
|
|
label_14:
|
|
CJNE RDA2, '3', label_34;
|
|
MOVE '4', RDA3;
|
|
MOVE '0', RDA2;
|
|
JUMP label_14;
|
|
label_34:
|
|
MOVE '0', RDA1;
|
|
JUMP label_7;
|
|
label_42:
|
|
MOVE '0', RDA0;
|
|
JUMP main;
|
|
label_50:
|
|
END_PROC
|