Hum !!!You "just need" that I can't give you the source code of the cycle counter but I can explain how it's work.There Is two part:- the general case- the specific case (register restriction, shortcuts, ...)You are at cycle #101 - The ARM check before starting an instruction that all the registers will be available when the instruction will need them.For example:you want to execute a MUL Rd, Rm, RsRm must be available at cycle #11 (#10 + 1 see MUL cycle table http://infocenter.ar...ch16s02s03.html)If at least 1 register is not avalable, then the ARM do not start the instruction and you have a stall cycle.