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 :

Open in App
Solution

option (b)


max. opcode = 28=256

used opcode = 254

unused opcode = 2

1- address instruction


max. opcode = 2* 212=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
Binary Operations
MATHEMATICS
Watch in App
Join BYJU'S Learning Program
CrossIcon