CMPSC 64 Lecture Notes - Lecture 1: Arithmetic Logic Unit, Central Processing Unit, Nibble

21 views3 pages
17 Jan 2018
School
Course
Professor

Document Summary

From hardware (keyboard, mouse, etc. ) or from a program. From hardware (display screen, speaker, etc. ) or to a program. Secondary data storage i. e. hard-drive, ssd, cd-rom, etc. Binary bit = the smallest representation of the data. Ascii used 7 bits to convey one character. Expressing data and instructions in either 1 or 0 Does the actual processing in a computer cpu. Good at doing arithmetic (+, -, *, /) Does calculations in binary using registers (small ram) and logic circuits. Handles breaking down instructions into control codes for the alu and memory. This is what happens inside a computer interacting with a program at the lowest level. Instructions get executed in the cpu in machine language (in 1s and 0s) Each instruction needs multiple cycles of the cpu to get executed fully. Cpus can run many millions of instructions per second, so this doesn"t matter. In low-level languages, you need to spell the cycles out.

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