Solved a bug that occured (bizarrely only) with vectors.
commit9099a003885333c964ce225ed1c76da29754d227
authorVincent St-Amour <stamourv@dino13.iro.umontreal.ca>
Wed, 15 Jul 2009 21:58:52 +0000 (15 17:58 -0400)
committerVincent St-Amour <stamourv@dino13.iro.umontreal.ca>
Wed, 15 Jul 2009 21:58:52 +0000 (15 17:58 -0400)
treef4f47ea226336b068d27c5715249db6d19f91b30
parent230355032cb5bed3e30c8b9e5dc066ba2e2d12b5
Solved a bug that occured (bizarrely only) with vectors.
Some add/sub instructions were eliminated, and were followed by
adds/subs with borrow/carry, which ended up using leftover carries
from previous operations, which caused allocation to go wrong.
Improved the debugging procedures.
cfg.scm
code-generation.scm
pic18-sim.scm
tests/picobit/picobit-vm-sixpic.c