mirror of
https://github.com/ProdigyReloaded/tbol-toolchain.git
synced 2026-11-28 22:48:13 -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.
21 lines
359 B
Plaintext
21 lines
359 B
Plaintext
{ Program 'CLNEST' compiled with TBOL COMPILER version 04.21 }
|
|
{ Date Program compiled 03/17/26 18:05 }
|
|
{ Original file call_nested_procs.cod }
|
|
{ md5sum 8075e341b29603f35e4949686661c855 }
|
|
|
|
PROGRAM CLNEST;
|
|
|
|
PROC main =
|
|
proc_1;
|
|
END_PROC
|
|
|
|
PROC proc_1 =
|
|
MOVE '10', RDA0;
|
|
proc_2 RDA0;
|
|
END_PROC
|
|
|
|
PROC proc_2 =
|
|
ADD 1, P1;
|
|
MOVE P1, RDA1;
|
|
END_PROC
|