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
417 B
Plaintext
20 lines
417 B
Plaintext
{ Program 'IFDM' compiled with TBOL COMPILER version 04.21 }
|
|
{ Date Program compiled 03/17/26 18:05 }
|
|
{ Original file if_do_multi.cod }
|
|
{ md5sum 003f19eaa71789057d8e5f36a6c1f4d4 }
|
|
|
|
PROGRAM IFDM;
|
|
|
|
PROC main =
|
|
CJNE RDA0, '1', label_43;
|
|
MOVE '1', RDA1;
|
|
MOVE '2', RDA2;
|
|
ADD 1, RDA3;
|
|
SUBTRACT 1, RDA0;
|
|
MULTIPLY 2, RDA1;
|
|
MOVE RDA0, RDA2;
|
|
ADD RDA1, RDA3;
|
|
MOVE 0, I1;
|
|
label_43:
|
|
END_PROC
|