【文章內(nèi)容簡(jiǎn)介】
he same, programs should also be stored in the memory of a puter. von Neumann model \ \ Four Subsystems ? 存儲(chǔ)器 用來(lái)存儲(chǔ)數(shù)據(jù)和程序 ? 算數(shù)邏輯單元 (ALU)是進(jìn)行計(jì)算和邏輯操作的地方 ? 控制單元 是用來(lái)對(duì)其他三個(gè)子系統(tǒng)的操作進(jìn)行控制的單元 ? 輸入 負(fù)責(zé)從計(jì)算機(jī)外部接受輸入數(shù)據(jù)和程序 。輸出 則將計(jì)算機(jī)的處理結(jié)果輸出到計(jì)算機(jī)外部 . The stored program concept ? The programs for early puters tasks were implemented – by manipulating a set of switches or – by changing the wiring system. ? The memory of modern puters hosts both a program and its corresponding data. – This implies that both the data and programs should have the same format, because they are stored in memory. – In fact, they are stored as binary patterns in memory a sequence of 0s and 1s. Sequential execution of instructions ? The control unit fetches one instruction from memory, decodes it, then executes it. ? In other words, the instructions are executed one after another. – Of course, one instruction may request the control unit to jump to some previous or following instructions, – but this does not mean that the instructions are not executed seque