Archived(CSE)/컴퓨터 구조 (2) 썸네일형 리스트형 Chap 5. Memory Chap 5. Memory * Memory Hierarchy ( register - cpu cache - Dram - second Storage -archival Storage )* Cache (hit / miss / hit rate)* Cache principle - locality ( temporal, spatial ) * Cache access/ saving -> Tag/ Index/ offset (Tag + Memory 's last addr, valid) * offset -> word size(block size) , index * block size, miss rate / block size quadratic equation (too many - cache volume , too few - a.. Chap 3. Arithmetic for Computers Chap 3. Arithmetic for Computers ADD / SUB* Binary Addition / Binary subtraction * Overflow Case ( 1. (+) + (+) = (-) / 2. (-) + (-) = (+) / 3. (+) - (-) = (-) / 4. (-) - (+) = (+) )* C/JAVA : ignore overflow / Ada/Fortran : notify MUL / DIV* Multiplication : multiplicand(32/ shift left) * multiplier(32/ shift right) = product(64)* improving Multiplication : 64 bit register ( product 32 bit / mu.. 이전 1 다음