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)?
C) is the ans
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.
Actually the question is incomplete. It should be mentioned in the question that the
CPU is byte-addressible so that the PC will increment byte by byte. Now because the instruction is 3byte, the PC has to increment 3 times.
So the answer is 600, since it is the only option which is multiple of 3.
There is one more problem. Ppl who have...