ISRO Computer Science (CSE) 2009 - Question 35

All ISRO Computer Science (CSE) papers | ISRO Computer Science (CSE) 2009

A CPU has 24-bit instructions. A program starts at address 300 (in decimal). Which of the following is a legal program counter (all values in decimal)?

  • A. 400
  • B. 500
  • C. 600
  • D. 700

Answer: C. 600

Explanation: Instructions are 24 bits = 3 bytes long. PC addresses must be multiples of 3 relative to start (300). 600-300=300 (divisible by 3). 400, 500, 700 are not.

| | All questions of ISRO Computer Science (CSE) 2009