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: Option D
Related Questions on Microprocessors and Microcontrollers
A. Circuit A has more gates than circuit B
B. Circuit B has more gates than circuit A
C. Circuit A has the same number of gates as circuit B
D. None of the above
For the number A[15:0] = 0110110010001111, A[14:13] is ______ A[3:2].
A. Less than
B. Greater than
C. The same as
D. Cannot be determined

Join The Discussion