...
Computer-Organization
August 1, 2024
Machine-Instructions
August 1, 2024
Computer-Organization
August 1, 2024
Machine-Instructions
August 1, 2024

Machine-Instructions

Question 47
In a 10 bit computer instruction format, the size of address field is 3 bits. Thecomputer uses expanding OPcode technique and has 4 two address instructions and 16
one address instructions. The number of zero address instructions it can support is
A
256
B
356
C
640
D
56
Question 47 Explanation: 
No. of possible instruction encoding =2​ 10​ =1024
No. of encoding taken by two-address instructions =4×2​ 3​ ×2​ 3​ =256
No. of encoding taken by one-address instructions =16×2​ 3​ =128
So, no. of possible zero-address instructions =1024−(256+128)=640
Correct Answer: C
Question 47 Explanation: 
No. of possible instruction encoding =2​ 10​ =1024
No. of encoding taken by two-address instructions =4×2​ 3​ ×2​ 3​ =256
No. of encoding taken by one-address instructions =16×2​ 3​ =128
So, no. of possible zero-address instructions =1024−(256+128)=640
0 0 votes
Article Rating
Subscribe
Notify of
0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x
error: Alert: Content selection is disabled!!