Hi,
C66 CPU and Instruction Set Reference (SPRUGH7) says about BDEC that the loop count register is updated after the branch has been taken (Example 1, page 4-67).
The C66x simulator displays the loop count register as being updated in the cycle immediately after the loop instruction, i.e. 4 cycles before the branch is taken.
Which is correct? If the latter, please update Examples 1 and 2 in the documentation, as they are misleading.