CMPEN 331 Lecture Notes - C Dynamic Memory Allocation, Coprocessor, Mips Instruction Set

127 views53 pages

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.

Get access

Grade+20% off
$8 USD/m$10 USD/m
Billed $96 USD annually
Grade+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
40 Verified Answers
Class+
$8 USD/m
Billed $96 USD annually
Class+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
30 Verified Answers