434 views
0 votes
0 votes

Consider a hypothetical system which has 32 bit instructions and 8 bit addresses. If there are 90 2-address instructions and 200 one address instructions, then how many zero address instructions can be formulated?

A) 216 – 90 × 28

  B) ( 216 – 90 × 28 – 200) × 28

C) ((216 – 90) × 28 – 200) × 28

D) (216 – 90) × 28 – 200 × 28

1 Answer

0 votes
0 votes

answer(C)
 

opcode 16 bit  address 8 bit  address 8 bit 


no of opcodes possible 2^16
no of free opcodes 2^16-90
no of one address instructions (2^16-90)28 
no of zero address instruction  ((2^16-90)28 -200)*28

Related questions

0 votes
0 votes
1 answer
1
someshawasthi asked Oct 27, 2022
525 views
Assume an instruction set that uses a fixed 31 bit instruction length. Operand specifies are 4 bits in length. If there are m-three operand instructions in total, then ho...
1 votes
1 votes
2 answers
3
2 votes
2 votes
1 answer
4