These rules need a notUsed condition to check that the value in a is not used, since they leave a different value in there, and the three could be merged into one by parametrising on the instruction using a condition like (%3 'anl' 'orl' 'xrl').
Crash when creating a variable
I cannot reproduce the bug in current trunk. As expected, the code compiles without error, followed by a linker error about exceeding the RAM capacity.
It being a bit slower is what I would have expected. But what I see looks more extreme. In a very quick test I just did, 1000000 r3ka simulation steps on nemesis take: 1s in [r17133] 16s in [r17135] 32s in [r17321] I didn't expect a relatively simple peripheral to take so much more simulation time than the CPU core. Philipp
For your issue local0009, please open a ticket in the sdcc bug tracker; that is much more likely to get the attention of the mcs51 port maintainer than the entry in your triage repo.
Looks ok to me. I also like the more extensive (vs. the otherwise similar alternative patch at https://github.com/mdmower/sdcc-triage/blob/main/patches/bugs-4249.patch) tests in this patch.
Looks ok to me. I also like the more extensive (vs. the alternative patch at https://github.com/mdmower/sdcc-triage/blob/main/patches/bugs-4249.patch) tests in this patch.
sdcdb crashes upon setting bp