一道计算机的题目An imaginary computer has eight data registers Rx(R0 to R7),16M words in memory,the address can address words in the 16M memory,and have 32 different instructions (ADD,SUB,etc.).A typical instruction of the computer uses follo

来源:学生作业帮助网 编辑:作业帮 时间:2024/05/01 08:14:32

一道计算机的题目An imaginary computer has eight data registers Rx(R0 to R7),16M words in memory,the address can address words in the 16M memory,and have 32 different instructions (ADD,SUB,etc.).A typical instruction of the computer uses follo
一道计算机的题目
An imaginary computer has eight data registers Rx(R0 to R7),16M words in memory,the address can address words in the 16M memory,and have 32 different instructions (ADD,SUB,etc.).A typical instruction of the computer uses following format: SUB address,Rx
1,What is the minimum size of an instruction in bits?
2,If the instruction is in the minimum size and the computer uses the same size of word for data and instructions,What is the size of the data bus?
3,What is the size of the program counter?
4,What is the size of the address bus?
5,What is the minimum size of the control bus?

一台假想的计算机有八个数据寄存器,标号是Rx(即R0~R7),16M字节的内存,并能按字节寻址,有32条指令(加,减等).这台计算机中典型的指令格式如下:
SUB address,Rx
即 指令名 地址,数据寄存器号
1.一条指令最少要多少位?
指令占5位:2^5=32;
地址占24位:2^4=16,计算机中2^10=1K,2^20=1M,所以16M=2^(20+4);
寄存器占3位:2^3=8,也就是3位二进制数可以表示八个不同的寄存器.
因此一条指令所占用的最少位数=24+3+5=32
2.如果指令占用最小的位数(即32位)并且这台计算机用相同的字长来传输数据和指令(字长32位),那么它的数据总线的宽度(32位,因为计算机一次处理一个字)
3.程序计数器(PC)的宽度
因为内存中有16M的地址单元,因此需要24位的程序计数器来表示.
4.地址总线的位数
24位,原因见上.
5.控制总线的最小宽度
1位(控制读或写操作)
--------------------------------------------------------------------------------------
就是 第一小题那个指令的位【为什么】是这样算的?
(表示各种概念有点混淆,最好详细点,有答案了加分,谢谢了)

一道计算机的题目An imaginary computer has eight data registers Rx(R0 to R7),16M words in memory,the address can address words in the 16M memory,and have 32 different instructions (ADD,SUB,etc.).A typical instruction of the computer uses follo
32种指令的话需要5位二进制的数才能表示完全:00000~11111(即十进制的0~31).所以指令位至少得占5位才行

一道计算机的题目An imaginary computer has eight data registers Rx(R0 to R7),16M words in memory,the address can address words in the 16M memory,and have 32 different instructions (ADD,SUB,etc.).A typical instruction of the computer uses follo 有关计算机组成原理的一道题目 有关计算机组成原理的一道题目 计算机导论的英文题目An imaginary computer has four data registers (R0 to R3), 1024 words in memory, and 16 different instructions (add, subtract, etc.). What is the minimum size of an instruction in bits if a typical instruction uses the fo an imaginary person in a play or film or story是哪个单词c开头的 求解一道计算机导论英文题!An imaginary computer has sixteen data registers R0 to R15,512M words in memory,theaddress can address words in the 64M words memory,and have 128 different instructions.A typical instruction of the computer uses t from imaginary side 在服装行业,主要知道imaginary的含义 imaginary和imaginative的区别? imaginative和imaginary的区别 计算机的题目怎么写? 计算机的题目选那个? DON'T MAKE A FUSS ABOUT AN IMAGINARY ILLNESS.啥意思?这是我一个朋友的QQ签名 It is an imaginary line dividing the world.这里的dividing 的作用是什么?充当什么成分?此句It is an imaginary line dividing the world.如果变成 It is an imaginary line which divides the world.术语里叫什么变化? 一道高等数学的题目请问第二行的|an| 区分一下imaginary;imaginative;imaginable的区别 一道折磨计算机的数学题 要计算机算的... 找一些计算机常识题目急需要计算机常识的题目, 高二一道数学求通项公式的题目在数列《an》中,a1=3,an+1=4an-3,求an 求详细过程 非常感谢