If your CPU has a pipeline that gives different execution times when a branch is taken or

Question:

If your CPU has a pipeline that gives different execution times when a branch is taken or not taken, write a program in which these branches take different amounts of time. Use a CPU simulator to observe the behavior of the program.

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Question Posted: