That fits into a 16F628a whithout any problem ... then.

may we consider the subject solved ???

you can easily save some more room, simply replacing "high x " and "Low y " by " x = 1 " and " y = 0 "

Alain