Avr emulator port, an attempt at better understanding avr assembly