Branching statements are like if statement, for, while loop etc. Think of it as if(flag1) {flag2 = true}. The second statement "flag2=true" is dependent on the execution of flag1 instruction. if flag2 is in pipeline and flag1 turns out to be false, second statement will be thrown away. Which basically means wastage of cpu cycles spent on processing flag=true.
Very good lecture. Thank you very much.
Really helpful!!! Thanks a lot.
Superb !!
What is a branch instruction?
Branching statements are like if statement, for, while loop etc.
Think of it as if(flag1) {flag2 = true}. The second statement "flag2=true" is dependent on the execution of flag1 instruction. if flag2 is in pipeline and flag1 turns out to be false, second statement will be thrown away. Which basically means wastage of cpu cycles spent on processing flag=true.
Thank u sir...
NPTEL is NPTEL , always ahead :-)
Are these youtube nptel lectures enough for gate ??
@@085-atindey2 NPTEL lectures go beyond GATE TBH. But you should refer them.