CMPEN 331 Lecture Notes - C Dynamic Memory Allocation, Coprocessor, Mips Instruction Set
Document Summary
Slides adapted and updated from those developed by profs. The datapath executes instructions as directed by the control. Datapath contents reg #4 add contents reg #2 results put in reg #2. Control needs to have circuitry to l decide which is the next instruction. Fetch and fetch it from memory l decode the instruction l. Issue signals that control the way information flows between datapath components. Decode l control what operations the datapath"s functional units perform. Datapath needs to have circuitry to l execute instructions - functional units (e. g. , adder) and storage locations (e. g. , register file) Interconnect the functional units so that the instructions can be executed as required l l load data from and store data to memory. Instructions are represented as binary numbers and, as such, are indistinguishable from data: programs are stored in memory (that can be read from or written to) just like data. Alan perlis one man"s program is another man"s data.