> Has for the zener diode you just put the block end to say PORTA.0 and the ohter to ground.

No!

A Zener starts to draw current long before it gets to it's stated voltage... it doesn't just suddenly 'turn-on' at it's rated voltage. As soon as the Zener starts to draw current (a 5V6 Zener might start as low as 3v!!!) then it will throw your Resistor Voltage Divider out and you will no longer have the ratio voltage drop you expect!!!

A Zener is good for protecting Digital ON/OFF inputs but not for precise measurement ADC or Comparator inputs.