I'm running into a problem regarding Atmega644 cycle count for certain instructions, specifically the RCALL and RET instructions. According to the datasheet (doc2593.pdf), the RCALL instruction takes 4 cycles and the RET takes 5 cycles. These numbers are different from other AVR cores. Are they correct is my question?
I tried to use the cycle counter in AVR Studio, both simulator1 and simulator2 and get conflicting and confusing results. Sim1 gives me 3 cycles for the RCALL, 4 for the RET (most of the time), Sim2 gives 2 cycles for the RCALL and 3 for the RET.
What is the truth? I did search the forums to no avail and could not find an answer on the web.