Tridora-CPU/pcomp
slederer 3526060a19 sasm: bugfix for LBRANCH/LCBRANCH size changes
- The LBRANCH and LCBRANCH directives
  create different instruction sequences
  depending on the jump distance.
  So the code size can shrink during the first pass
  when the jump distance can be determined (when the
  label that is the jump destination is parsed).
  In the long form, LOADREL/JUMP is used, which might
  or might not need 2 bytes of padding. With this bugfix,
  the padding is always added, either before or after
  the LOADREL indirect operand, so that the code
  size does not change depending on the padding
  required. Otherwise the code might shrink further
  on the second pass because a LBRANCH/LCBRANCH
  instruction no longer needs padding due to an
  earlier code size change.
2025-04-07 00:25:32 +02:00
..
.vscode initial commit 2024-09-19 14:12:22 +02:00
emit.pas implement outward calling of nested procedures, fix standalone mode 2025-04-01 00:14:20 +02:00
float32+.pas initial commit 2024-09-19 14:12:22 +02:00
float32+tdr.pas initial commit 2024-09-19 14:12:22 +02:00
lsymgen.pas use precompiled standard library (not really a linker) 2024-11-09 22:22:48 +01:00
make.bat add serload python script, wrong filename in make.bat 2024-11-25 00:09:35 +01:00
Makefile adjust Makefile for precompiled stdlib 2024-11-09 23:18:58 +01:00
pcomp.pas Correctly implement negative array indices, other bugfixes 2025-03-31 00:47:34 +02:00
pcomp.py initial commit 2024-09-19 14:12:22 +02:00
platfile+.pas initial commit 2024-09-19 14:12:22 +02:00
platfile+tdr.pas initial commit 2024-09-19 14:12:22 +02:00
platfile-types+.pas initial commit 2024-09-19 14:12:22 +02:00
platfile-types+tdr.pas initial commit 2024-09-19 14:12:22 +02:00
platform+.pas Bugfix int range in sasm, create Makefile, portability fixes 2024-10-06 23:51:57 +02:00
platform+tdr.pas initial commit 2024-09-19 14:12:22 +02:00
platform-types+.pas initial commit 2024-09-19 14:12:22 +02:00
platform-types+tdr.pas initial commit 2024-09-19 14:12:22 +02:00
sasm.pas sasm: bugfix for LBRANCH/LCBRANCH size changes 2025-04-07 00:25:32 +02:00
sdis.pas initial commit 2024-09-19 14:12:22 +02:00
shortgen.pas adjust some filename suffixes for new stdlib scheme 2024-11-11 00:33:26 +01:00
treeimpl.pas initial commit 2024-09-19 14:12:22 +02:00
treetypes.pas initial commit 2024-09-19 14:12:22 +02:00