COSI 131a Lecture Notes - Lecture 1: Central Processing Unit

39 views2 pages

Document Summary

The cpu consists of an alu and control unit. The alu performs computations, while the control unit interprets program instructions. The alu consists of registers and function unit. Registers are storage units, while the function unit consists of arithmetic and logic units. Registers and units are connected through the bus (a set of wires). Registers are very fast, but its use of memory is very expensive on the processor. Usually there are 32 64 registers, and each register holds a word. A word is the data size used in computation, which is also the amount of data transferrable over the data bus at a given time. Gpr are set directly by software; the assembly language instruction. Status registers convey information about previous/current operations, and are set as a side effect of software. The function unit performs computation with data in registers. All of the data used in computation is stored in the gprs.

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

Related Documents