On Mon, 18 Apr 2022, Basil Hussain wrote:

Does ucSim simulate this accurately?

No. Wrapping is not implemented. SP is checked against a limit after push operations, but this generates an error message only. You can set the limit with "sp_limit=value" command, but it will not be wrapped.

stm8 simulator is in very bad state actually, several things must be fixed to make them work again. I'll put wrapping on the todo list.

Daniel


_______________________________________________
Sdcc-user mailing list
Sdcc-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sdcc-user

Reply via email to