作业帮 > 英语 > 作业

计算机导论的英文题目An imaginary computer has four data registers (R0

来源:学生作业帮 编辑:拍题作业网作业帮 分类:英语作业 时间:2024/05/29 03:52:47
计算机导论的英文题目
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.
答案是16
2^2=4 表示4个数据库
2^10=1024 表示1024个words
2^4=16 表示16种运算
2+10+4=16
所以需要16位的二进制数来表示这项指令