stm8instructionSize() reports 2 instead of 3 as instruction size for jp. It reports 3 instead of 2 for addw sp, #byte.
I see this error in revision #8712. Enabling the debug fprintf in line 113 of SDCCpeeph.c helped me find this bug, and is probably useful in debugging it and checking for similar ones.
Log in to post a comment.