正在加载图片...
基本操作-Step3,执行阶段 根据译码的结果,有四种情况 Memory reference ALUOutput <--A+(ir166##Ir1631---------effective address SMD <--B data to be written if it is a store-- smd(store mem data)=MDR Register-Register ALU instruction ALUOutput <--A op B Register -Immediate ALU instruction ALUOutput <--A op((ir6)6##ir1631)) Branch/Jump ALUOutput <--NPC +(ir166##Ir16-31 cond <--A op 0---for conditional branches As value is the condition base for BENz) 在简单的Load- Store机器中,不存在即需要计算存储器地址,指令地址 又要进行ALU运算的指令,因此可以将计算有效地址与执行合二为一 在一个流水段中进行。 中国科学技术大学 chapter3. 12中国科学技术大学 chapter3.12 基本操作-Step 3, 执行阶段 根据译码的结果,有四种情况 • Memory Reference – ALUOutput <-- A + (IR16) 16 ## IR16..31--------- effective address – SMD <-- B ---------- data to be written if it is a STORE -- SMD (store mem data) = MDR • Register - Register ALU instruction – ALUOutput <-- A op B • Register - Immediate ALU instruction – ALUOutput <-- A op ((IR16) 16 ## IR16..31)) • Branch/Jump – ALUOutput <-- NPC + (IR16) 16 ## IR16..31 – cond <-- A op 0 --- for conditional branches A’s value is the condition base (= for BEQZ) – 在简单的 Load-Store机器中,不存在即需要计算存储器地址,指令地址 ,又要进行ALU运算的指令,因此可以将计算有效地址与执行合二为一 ,在一个流水段中进行
<<向上翻页向下翻页>>
©2008-现在 cucdc.com 高等教育资讯网 版权所有