Open In App

GATE | GATE-CS-2006 | Question 85

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)
Explanation:

Each address is multiple of 3 as the starting address is 300 and is each instruction consists of 24 bit, i.e., 3 byte.
Thus, in the given options the valid counter will be the one which is the multiple of 3. Out of the options we can see that only 600 satisfies the condition.
Therefore, it is 600.

Quiz of this Question
Please comment below if you find anything wrong in the above post

Article Tags :