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

A digital computer supports 2 - address and 1-address instructions. The size of instuction is 16- bits and address size is 6-bits. If these are 12 2-address instructions then minimum and maximum number of 1- address instruction supported are respectively?

A
0 and 256
No worries! We‘ve got your back. Try BYJU‘S free classes today!
B
1 and 1023
No worries! We‘ve got your back. Try BYJU‘S free classes today!
C
1 and 256
Right on! Give the BNAT exam to get a 100% scholarship for BYJUS courses
D
0 and 1024
No worries! We‘ve got your back. Try BYJU‘S free classes today!
Open in App
Solution

The correct option is C 1 and 256
option (b)

2-address instruction


16 - ( 6 + 6) = 4-bits

Max opcode = 24=16

used opcode = 12

Unused opcode = 4

16 - 6 = 10 bits

Max opcode = 426=256

Max 1-address instruction = 256

Min 1-address instructions = 1 [min 1 required to be supported]


flag
Suggest Corrections
thumbs-up
3
Join BYJU'S Learning Program
similar_icon
Related Videos
thumbnail
lock
Types of Instructions 1
OTHER
Watch in App
Join BYJU'S Learning Program
CrossIcon