✅ Перевірена відповідь на це питання доступна нижче. Наші рішення, перевірені спільнотою, допомагають краще зрозуміти матеріал.
Given the following 16 bits instrucion format with two types.
|
|
|
| |||||||||||||
|
Opc (3 bits)
|
Operand1 (4 bits)
Register direct
|
Operand2 (9 bits)
Direct to memory
| |||||||||||||
Type1:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |||||||||||||
|
Opc (3 bits)
|
Operand1 (9 bits) Relative
|
Operand2 (4 bits)
Register direct
| |||||||||||||
Register
|
Offset
| |||||||||||||||
Type2:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
The memory is addressed on word level, where each word has 16 bits . Give (in number of bytes) the size of the memory that can be addressed by direct addressing mode to memory. The answer should be a decimal number (e.g. 254)