A computer supports 16-bits instruction with each address of 6-bits, If there are maximum 128 1-address instruction then the number of 2-address instruction are supported in the computer system is _____________.
A
14
Right on! Give the BNAT exam to get a 100% scholarship for BYJUS courses
B
13
No worries! Weāve got your back. Try BYJUāS free classes today!
C
15
No worries! Weāve got your back. Try BYJUāS free classes today!
D
12
No worries! Weāve got your back. Try BYJUāS free classes today!
Open in App
Solution
The correct option is A 14 option (c)
Suppose n 2-address instruction are supported.
2-address instruction format. max opcode=24=16 used opcode=n––––––––––––––––––
unused opcode = 16 - n
1 -address instruction format max 1-address instructions :(16−n)×26=128 ∴ n = 14