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.
18 lines
348 B
Plaintext
18 lines
348 B
Plaintext
{ Program 'CL2ARG' compiled with TBOL COMPILER version 04.21 }
|
|
{ Date Program compiled 03/17/26 18:05 }
|
|
{ Original file call_with_2args.cod }
|
|
{ md5sum c820a622bf052b22079e416dca5d6d57 }
|
|
|
|
PROGRAM CL2ARG;
|
|
|
|
PROC main =
|
|
MOVE '10', RDA0;
|
|
MOVE '5', RDA1;
|
|
proc_1 RDA0, RDA1;
|
|
END_PROC
|
|
|
|
PROC proc_1 =
|
|
ADD P1, P2;
|
|
MOVE P2, RDA2;
|
|
END_PROC
|