CameraIcon
CameraIcon
SearchIcon
MyQuestionIcon
MyQuestionIcon
1
You visited us 1 times! Enjoying our articles? Unlock Full Access!
Question

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.

flag
Suggest Corrections
thumbs-up
4
similar_icon
Similar questions
View More
Join BYJU'S Learning Program
similar_icon
Related Videos
thumbnail
lock
Indian Hero - Birsa Munda
HISTORY
Watch in App
Join BYJU'S Learning Program
CrossIcon