Vidyalelo
ECE · Q165

Microprocessors And Microcontrollers

Engineering and GATE · ECE · question 165

Q165

Which of the following computation will take minimum number of clock cycles, if it is implemented on 8051 micro-controller? Following is variable declaration in c code: Unsigned int a, b;

A.
b = a*a
B.
b = a*3
C.
b = a/3
D.
b = a/4
Answer

Answer: Option D

Solution

Answer: Option D
No explanation is given for this question Let's Discuss on Board