Closed 7HangZ closed 1 year ago
// 指令的最大地址位 如果为1则是C指令 为0则是A指令 Not(in = instruction[15], out = isA); // 对isA再次取反 判断是否C指令 读者可以自行用1或0代入想像一下 isC实际上就是instruction[15]的值 Not(in = isA, out = isC);
大神这个有点看不懂啊 假设这个最大地址位为0,第一次取反out不就是1了吗。为什么是isA
如果是最大地址位为 1,取反就是 0 了。isA 说明它是个变量,还不确定值。
谢谢!
不客气 加油
// 指令的最大地址位 如果为1则是C指令 为0则是A指令 Not(in = instruction[15], out = isA); // 对isA再次取反 判断是否C指令 读者可以自行用1或0代入想像一下 isC实际上就是instruction[15]的值 Not(in = isA, out = isC);
大神这个有点看不懂啊 假设这个最大地址位为0,第一次取反out不就是1了吗。为什么是isA