CMPSC 64 Study Guide - Final Guide: Moore Machine, Interrupt, Opcode

44 views18 pages
23 Mar 2018
School
Course
Professor

Document Summary

Welcome to computer organization and design logic: five main components of a computer, processor. Ram: random access memory, can be changed. More long-term than memory: computer memory is usually organized in two parts, address. Where can i find my data: data/payload. Does the actual processing in a computer cpu. Does calculations in binary using registers and logic circuits: registers = small ram, control unit (cu) Binary arithmetic: converting binary to octal and hexadecimal, group the bits technique. Always start from the least significant digit. Group every 3 bits together for binary to octal. 1 1 0: bitwise not (~), and (&) or (|), and xor (^) are similar to logical not (! Arithmetic shift right: subbing-in the leftmost bits with 1s. In two"s complement, if the number"s most significant bit is 1, then that means the number is negative, and if it is 0, then that means the number is positive.