85.1k views
0 votes
Suppose a computer has 16-bit instructions. The instruction set consists of 32 different operations. All instructions have an opcode and two address fields (allowing for two addresses). The first of these addresses must be a register, and the second must be memory. Expanding opcodes are not used. The machine has 16 registers. What is the maximum allowable size for memory?

A. 32
B. 64
C. 128
D. 256

User Debran
by
5.5k points

1 Answer

2 votes

Answer:

B) 64

Step-by-step explanation:

Since the computer has a 16-bit instruction set, and has 16 registers, it will require four (4) bits for a register address, the maximum allowable size for memory therefore will be 4X16 = 64

User Chanaka Fernando
by
5.5k points