计算机导论的英文题目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
来源:学生作业帮助网 编辑:六六作业网 时间:2024/12/27 14:29:17
计算机导论的英文题目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 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 following format:
add 565 R2.
计算机导论的英文题目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
答案是16
2^2=4 表示4个数据库
2^10=1024 表示1024个words
2^4=16 表示16种运算
2+10+4=16
所以需要16位的二进制数来表示这项指令