从地址和字长计算内存大小?

Calculating memory size from address and word size?

我目前正在准备计算机体系结构考试,我在网上发现了这个问题

A digital computer has a memory unit with 26 bits per word. The instruction set consists of 756 different operations. All instructions have an operation code part (opcode) and an address part (allowing for only one address). Each instruction is stored in one word of memory.

1-How many bits are needed for the opcode? 10 bits

2- How many bits are left for the address part of the instruction? 16 bits

3- What is the maximum allowable size for memory? 65536 bits

4- What is the largest unsigned binary number that can be accommodated in one word of memory? 67108864

我明白为什么 1 和 2 是正确的,但我不明白 3 和 4

问题3不应该是(2^16) x 26位吗?

问题 4 不应该是 (2^26)- 1?

对于第 4 部分,您正在计算可以作为指令字一部分的最大 立即数。 但是问题是关于将整个 26 位字用作数字作为数据。 (此外,你做了 2^15,所以最大的有符号 16 位整数,但问题要求无符号,其中所有 n 位都具有正位值)。

对于第 3 部分,是的,您的答案看起来是正确的。假设没有间接寻址(这会让你使用 26 位地址),那么可用内存大小 = 一条指令可以寻址的数量。所以 2^16 = 65536 个单词。您确定给出的答案真的是 65536 位,而不是单词吗?