Skip to content
Related Articles

Related Articles

GATE | GATE-CS-2006 | Question 85
  • Last Updated : 10 Mar, 2014
GeeksforGeeks - Summer Carnival Banner

A CPU has 24-bit instructions. A program starts at address 300 (in decimal). Which one of the following is a legal program counter (all values in decimal)?
(A) 400
(B) 500
(C) 600
(D) 700

Answer: (C)


Here, size of instruction  =  24/8 = 3 bytes.

Program Counter can shift 3 bytes at a time to jump to next instruction.

So the given options must be divisible by 3. only 600 is satisfied.

Quiz of this Question


My Personal Notes arrow_drop_up
Recommended Articles
Page :