CS 120 Lecture Notes - Lecture 13: Arithmetic Logic Unit, Central Processing Unit, Computer Memory

105 views2 pages

Document Summary

Given a turing machine with state and system calls, we still need input/output and memory storage to create a computer. There are 3 parts to a computer: central processing unit (cpu, memory (ram, control unit. The cpu contains the arithmetic logic unit (alu), which does all of the math. Word size: the number of bits that the cpu is operating with (typically 32 or 64 bit) Start at 0 until some large number, each number representing a memory location; every location contains a bit pattern (none of them are empty). Address space: the total number of memory locations there are: 32-bit machines have 4 gigabytes of address space. Read is to access memory, and write is to write memory. You cannot change memory directly, you have to change a register that contains some part that you want and rewrite it to memory. In modern computers, the smallest writing size is 8 bits (1 byte).

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