I think it cannot work on a 16F88 either, when simulating you get a 'stack underflow' error.
And...
- wrong config. bits
- misuse of the "master relay" instruction
- using gosub is not needed in your program
Also I think that rung 11 will give you a wrong result because the math contains a bug, see
http://cq.cx/ladder-forum.pl?a...;parent=9515&tt=1582995046
Due to the math problem, LDmicro has become unusable.