01:198:211 Lecture Notes - Lecture 14: Edx, Parsing, Arithmetic Logic Unit
Document Summary
Additionally the interface that connects between the cpu and other components is called the bus interface. The cpu executes by a fetch,decode, execute cycle for each line of code: memory. Some space allocated individually for instructions and global variables. Stack located directly below those memory spaces: heap is located some distance below stack, buses. Basically allow flow of info between components: review of arithmetic, talked about four different bases. Binary: octal, decimal, hexadecimal, need to know how to convert between them. Binary to octal: split the binary string into triplets and evaluate each triplet. Binary to hex: split the string into quadruplets and evaluate each. Binary to decimal: like octal, but power of 2: sometimes it might be easier to convert to an intermediate number base instead of directly. For example, it might be easier to convert hex to binary, and then decimal: certain bases of numbers have suffixes preceding them for easy parsing by the program.