Files
Phillip Heller ca897ac080 Batch: compiler/formatter work in progress, decompiler TODO
- 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.
2026-08-01 18:03:39 -06:00

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