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.
16 lines
364 B
Plaintext
16 lines
364 B
Plaintext
{ Program 'TDSTCSR' compiled with TBOL COMPILER version 04.21 }
|
|
{ Date Program compiled 03/17/26 18:06 }
|
|
{ Original file data_structure_clear_save.cod }
|
|
{ md5sum 2d86077f7b051640bc7f796ccfe8cc4c }
|
|
|
|
PROGRAM TDSTCSR;
|
|
|
|
PROC main =
|
|
MOVE '1', RDA0;
|
|
MOVE '2', RDA1;
|
|
MOVE '3', RDA2;
|
|
CLEAR RDA0;
|
|
SAVE RDA0, RDA1, RDA2;
|
|
RESTORE RDA0, RDA1;
|
|
END_PROC
|