PPT Slide
*** Two-Cycle Loop L3: add .L1 A3,A5,A0 | | mpy .M1x B4,A0,A3| | [ B0 ] B .S2 L3 ext .S1 A0,16,16,A5 | | [ B0 ] sub .L2 B0,1,B0| | ldh .D2 *B5++,B4| | ldh .D1 *A4++,A0
Notes:
and, we have a two-cycle loop. So now we have two execute packets to create the loop instead of the 16 instructions we had before.
Let’s recognize what the C compiler has done to our code.