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

A hypothetical processor supports 2-address instructions and 1-address instructions. It has 32-bit instruction and 12-bit addresses. If there are 254 2-address instructions then minimum and maximum number of 1-address instructions can be formulated respectively are

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

The correct option is A 1,8192


max.opcode=28=256used opcode =254––––––––––––––––––––––––unused opcode = 2–––––––––––––––––––––––––––




max.opcode=2212=213=8192

min. opcode = 1 (Atleast 1 instruction should be present to be supported)

flag
Suggest Corrections
thumbs-up
0
Join BYJU'S Learning Program
similar_icon
Related Videos
thumbnail
lock
Instruction Formats: 3, 2 and 1 Address Instruction
OTHER
Watch in App
Join BYJU'S Learning Program
CrossIcon