ports and flags in atmega32 microcontroller