Yup, family come first!!!

I use MPASM in place of PM for the assembler. If you are using Micro Code Studio you can change that in compiler options. PM is OK though, until you get to using 18F parts.

Yes, on the first code the analog break point is at the halfway point.
When you get a chance to run the second code you will see how it is split even more. Lots of things can be done with this, like the code shows, one input can effectively become many, sort of.

Now take all this back to the LDR thing and you can have light, dark, and options for something in between.