Максимально возможная основная память для 32-битного командного слова и 7-битного кода операции

1776
O.A.

Если у нас есть система с 32-битными командными словами, из которых 7 бит выделены для кодов операций; максимально возможная основная память для такой системы, 2 ^ 32 слова или 2 ^ 25 слов?

0
Это домашнее задание? Пожалуйста, прочтите http://en.wikipedia.org/wiki/Word_%28computer_architecture%29, и вы можете понять, что размер слова не связан с максимально возможным объемом памяти ... Размер памяти зависит от размера адресной шины ... DavidPostill 9 лет назад 1

2 ответа на вопрос

4
Rev

Generally memory pointers will be residing in some register rather than in the opcode itself, so if you have a 32 bit instruction word, out of which 7 bits are opcode, out of the remaining 25bits some bits can be assigned to register combinations used by the opcode (Like src/destination etc).

So for an instruction like

MOV MEM(R1) MEM(R3) 

depending on your machine's architecture, R1 and R3 can be 32 bits long or 64 bits long, or however long the designed made it to be. The memory addressing shouldn't be limited to any amount by the instruction bit-width except when designed that way.

Извините за путаницу, но под памятью я подразумевал «основную память», а не память процессора (регистры). O.A. 9 лет назад 0
0
Varaquilex

Maximum addressable memory depends on the address register's size. If your system is designed so that 7 bits are used for opcode, therefore 25 bits are left for addressing at your instruction register and the address register is 25 bits long, then yes the total addressable memory is 2^25 words.

Take this basic computer example from Morris Mano's Computer System Architecture:

enter image description here

The 15th bit is I bit, which represents the addressing mode (direct/indirect).

There are 3 bits for opcode. The address register in the introduced basic computer architecture is 12 bits. You see, the system is designed that way. Check your address register's size and you'll find your answer.

Похожие вопросы