CPU实验6 flow chart-4
2016-11-06 16:08:08 0 举报
CPU实验6的流程图-4是一个详细的过程描述,展示了CPU执行指令的步骤。首先,CPU从内存中获取指令,然后解码这些指令以确定要执行的操作。接下来,CPU检查是否有任何相关的数据需要从内存或寄存器中获取。如果有,它会获取这些数据并将其存储在适当的寄存器中。然后,CPU执行指令指定的操作,这可能包括算术运算、逻辑运算或其他类型的操作。在执行操作后,CPU可能会更新其内部状态,例如寄存器的值。最后,CPU将结果写回内存(如果需要),并准备执行下一条指令。这个过程会一直重复,直到程序结束。
作者其他创作
大纲/内容
Initialize 8255 (Port B & Port C output)
Yes
Close the interrupt subroutine
Recover the initial interrupt vector of 8259
Initialize counter 1 of 8254 (input 1000)
Recover the initial ICW of 8259
Initialize counter 0 of 8254 (input 1000)
Save the default 0B interrupt vector
No
Read and Save the initial ICW of 8259
End
Open the interrupt
Start
If any key is pressed
Validate only the interrupt of IRQ3
Show the time and wait for the interrupt request
Set new 0B interrupt vector
Set initial time value
0 条评论
下一页