Breadcrumb Abstract Shape
Breadcrumb Abstract Shape
Breadcrumb Abstract Shape

Registers

Registers CPU के अंदर मौजूद बहुत छोटी और बहुत तेज temporary storage locations होती हैं। ये processing के दौरान data, instructions, memory addresses और intermediate results को थोड़े समय के लिए hold करने में मदद करती हैं।

Simple words में, Registers CPU की fast temporary working storage हैं।

Registers का काम

जब CPU किसी instruction को execute करता है, तो उसे कुछ data या information को तुरंत access करने की जरूरत होती है। Registers इस information को बहुत fast तरीके से temporarily hold करते हैं।

1. Data Hold करना

Registers processing के दौरान required data को temporarily store कर सकते हैं।

Example: किसी calculation में इस्तेमाल होने वाली values को temporarily hold करना।

2. Instructions Hold करना

CPU जिस instruction को process कर रहा है, उससे related information को register में temporarily रखा जा सकता है।

3. Memory Address Hold करना

कुछ registers उस memory location का address hold करते हैं जहाँ से data पढ़ना या जहाँ data लिखना है।

4. Intermediate Results

Calculation के बीच में मिलने वाले temporary results को registers में रखा जा सकता है।

Example:

20 + 30 = 50

आगे की processing में 50 को temporarily register में रखा जा सकता है।

Registers की विशेषताएँ

  • CPU के अंदर स्थित होते हैं।
  • बहुत fast होते हैं।
  • Capacity बहुत छोटी होती है।
  • Temporary information hold करते हैं।
  • CPU processing में directly मदद करते हैं।

Common Types of Registers

1. Accumulator (ACC)

Arithmetic और logical operations के दौरान intermediate results को temporarily hold करने के लिए उपयोग किया जा सकता है।

See also  Control Unit (CU)

2. Program Counter (PC)

Program Counter next instruction के address को hold करता है जिसे CPU को execute करना होता है।

3. Instruction Register (IR)

Instruction Register उस instruction को hold करता है जिसे CPU currently process या execute कर रहा होता है।

4. Memory Address Register (MAR)

MAR उस memory location का address hold करता है जिसे CPU access करना चाहता है।

5. Memory Data Register (MDR)

MDR memory से पढ़े गए data या memory में लिखे जाने वाले data को temporarily hold करता है।

Registers और RAM में अंतर

RegistersRAM
CPU के अंदर होते हैंMain memory में होती है
बहुत fast होते हैंRegisters से slower होती है
बहुत छोटी capacityबड़ी capacity
CPU processing के लिए immediate data hold करते हैंPrograms और data को temporarily store करती है
CPU के बहुत close/direct access मेंCPU memory bus के माध्यम से access करता है

Simple Example

जब आप computer में कोई calculation करते हैं:

Input Data → RAM → CPU Registers → ALU → Result

Registers processing के दौरान required values और intermediate information को temporarily hold करने में मदद करते हैं।

Quick Revision

Registers CPU के अंदर मौजूद बहुत fast और small temporary storage locations हैं, जो processing के दौरान data, instructions, addresses और intermediate results को temporarily hold करती हैं।

Important Registers:
ACC → Intermediate Results
PC → Next Instruction Address
IR → Current Instruction
MAR → Memory Address
MDR → Memory Data

Leave a Reply

Your email address will not be published. Required fields are marked *