Simulation of xc886C-8FF at 24 MHz in µVision 5. Instruction "mov R1,#5" should be completed in 1 cycle according to Instruction Set Manual. The debugger shows in register window 6 states (=cycles) and 320 ns. Both values don't make sense to me. Any explanation? Thanx Richard
Thanx for your comments! In uVision, the frequency of the crystal is set in "Options for Target"; in my case at 24MHz. For two clocks per machine cycle, that would give about 83 ns minimum per instruction. However, the debugger shows 6 machine cycles with 320 ns. I agree with you that there is something strange with the debugger and hope for advice from Keil.