CPU
β CPU component
π ALU, CU, MU
ALU (Arithmetic Logic Unit)
μ°μ°, AND, OR, and NOT
CU (Control Unit)
- manages and coordinates the operations of the CPU
- directing the operation of the other components within the CPU to execute the instructions of a program
- CU & ALU μ°μ°μ μμ μ‘°μ
- decodes order, sends the order to according units(memory unit, ALU, Input/Output devices)
MU (Memory Unit), Register
small set of data holding place for fast data processing by CPU
- κ³ μ κΈ°μ΅μ₯μΉ
μ°μ°νλ€κ° μμ κ°λ€ μ μ₯ν΄λκΈ°
- Types of Registers
- Accumulator: register for storing arismetic data
- MAR: Memory Address Registers
- holds address of location to be accessed from memory
- MAR and MDR facilitate communication between CPU βοΈ memory
- MDR: Memory Data Registers
- save data to be written into or to be read out from addressed location
- PC: Program Counter
- contain memory of next instrucion to be fetched
- IR: Instruction Register
- holds instruction that is just about to be executed
β CPU clock frequency
- CPUμ λμ μλ
- ALU, CU, MUκ° μ κΈ°μ μΌλ‘ λμνλ κ²μ 1μ¬μ΄ν΄μ΄λΌκ³ μ³€μ λ
1Hz(1μ΄μ ν μ¬μ΄ν΄) = 1cycle/s
ν€λ₯΄μΈ κ° λμΌλ©΄ λμμλ‘ 1μ΄μμ μ¬λ¬λ² λλ€λ κ²μ΄λ μ±λ₯μ΄ λ μ’μ κ²μ΄λ€.
β CPU multi-core
- CPUμμ μ¬λ¬ κ°μ μ½μ΄κ° μλ€.
- CPU μ½μ΄: ALU, CU
- CPU μ½μ΄κ° λ§μμλ‘, λ©ν°μ½μ΄μΌ μλ‘ μ±λ₯μ΄ μ’λ€.
π‘ Reference
https://www.geeksforgeeks.org/different-classes-of-cpu-registers/?ref=header_search
This post is licensed under CC BY 4.0 by the author.