What is CPU ? Describe the memory addressing capacity of CPU ?
Introduction to CPU
Data तथा instructions जो input device के द्वारा computer system में input किये जाते हैं वे output प्राप्त होने से पहले CPU में जाते हैं। CPU, data तथा instructions को store करके उन पर गणना करके problem को solve करता है और उन्हें output device में भेजता है। यह समस्त storage उपकरणों को include करती है। यह computer system का main part होता है अर्थात इसके बिना computer को कुछ नहीं की जा सकती है, इसलिए CPU (Central Processing Unit) को computer का heart कहा जाता है।
Work of CPU
किसी भी Programmer या user के द्वारा जब Data या instructions, computer system में दी जाती है तब output से पहले वह data या instructions CPU में आते हैं। Data सबसे पहले control unit में पहुँचता है जहाँ Arithmatic & logical unit, data को operate (Solve) करके memory unit में store करने के साथ साथ user को output प्रदान करता है।
General diagram of CPU
![]() |
General diagram of CPU |
Main section of CPU
- Accumulator
- General & Special Purpose register
- Timing and Control Unit
- ALU(Arithmetic & Logical Unit)
Accumulater
General & special purpose Register
Special purpose register का user के द्वारा accessable नहीं होते हैं। Program execution के समय computer द्वारा different purpose के लिए use किया जाता है। जैसे कि program counter, stack pointer आदि।
Timing and Control unit
ALU(Arithmetic & Logical Unit)
Memory addressing capacity of CPU
CPU की Memory Addressing Capability, Address bus में उपस्थित Number of lines पर निर्भर करती है। यदि n बिट address buses है तो CPU की memory Addressing Capacity 2^n के बराबर होगी।
[ Memory Addressing Capacity = 2^n ]
Example :- 20 बिट wide address bus CPU 2^20 Memory location को address कर सकता है।
[ 2^20 = 1 Million ]
One memory location 1 byte information को store करती है तथा 20 बिट address bus वाला CPU 1 MB memory को सीधे address कर सकता है। इसी प्रकार 32 bit address bus वाला CPU 4GB memory को address कर सकता है।
इस प्रकार n address lines 2^n Memory location को address कर सकती है। एक line केवल 0 या 1 binary digit को ले जा सकता है। इस प्रकार यदि 2 line का इस्तेमाल किया जाए तब ये possible address होंगे - 00, 11, 10, 01 इसी प्रकार यदि 3 line का इस्तेमाल किया जाए तो possible address होंगे - 000, 001, 011, 111, 101, 100, 110, 010 इसी प्रकार n address lines होने पर 2^n memory location को address कर सकता है।
लेख पसंद आया तो इसे जरूर शेयर करें।
Nice short note
ReplyDeleteThank you 💐💐
DeleteNice explanation 😊
ReplyDeleteThank you
Delete