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
403 B
Plaintext
20 lines
403 B
Plaintext
{ Program 'WHMULT' compiled with TBOL COMPILER version 04.21 }
|
|
{ Date Program compiled 03/17/26 18:06 }
|
|
{ Original file while_multi_stmt.cod }
|
|
{ md5sum c250e6a1ae26ffc429a5d7eb7ca912cc }
|
|
|
|
PROGRAM WHMULT;
|
|
|
|
PROC main =
|
|
MOVE 0, I1;
|
|
label_5:
|
|
CJGE I1, 5, label_36;
|
|
ADD 1, I1;
|
|
MOVE I1, RDA0;
|
|
ADD 1, RDA1;
|
|
MULTIPLY 2, RDA2;
|
|
MOVE RDA0, RDA3;
|
|
JUMP label_5;
|
|
label_36:
|
|
END_PROC
|