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
700
No worries! We‘ve got your back. Try BYJU‘S free classes today!
B
600
Right on! Give the BNAT exam to get a 100% scholarship for BYJUS courses
C
500
No worries! We‘ve got your back. Try BYJU‘S free classes today!
D
400
No worries! We‘ve got your back. Try BYJU‘S free classes today!
Open in App
Solution
The correct option is B 600
Size of instruction 24 bits
Starting address of the program is 300. The size of instruction is 3 bytes long So the address is always the multiple of 3 bytes next address is 600 it is also the next instruction of the program.