सीधे मुख्य सामग्री पर जाएं

Instruction cycle in hindi - इंस्ट्रक्शन साइकिल क्या है

what is Instruction cycle in hindi - इंस्ट्रक्शन साइकिल क्या है:-

हम जानते हैं कि computer memory में stored programs के instructions को execution करने के लिए है और एक instructions को execution करने के लिए आवश्यक processing को instruction cycle के रूप में जाना जाता है और एक महत्वपूर्ण बात यह है कि एक instruction cycle में दो sub-cycle होते हैं।
1. मेमोरी से इंस्ट्रक्शन रजिस्टर तक instructions पढ़ें, जिसे fetch cycle कहा जाता है। 
2. instruction register से instruction को execution करें, जिसे execute cycle कहा जाता है।
Instruction cycle in hindi

fetch cycle में, सीपीयू मेमोरी लोकेशन एड्रेस से इंस्ट्रक्शन रजिस्टर में इंस्ट्रक्शन को लोड करता है, जो प्रोग्राम काउंटर द्वारा होल्ड किया जाता है और फिर प्रोग्राम काउंटर को अगले इंस्ट्रक्शन के एड्रेस को होल्ड करने के लिए बढ़ाया जाएगा।
execution cycle में, instructions के ओपोड की explanation करता है और indicated operation करता है।
तो, basic instruction cycle state इस प्रकार हैं-
1. अगले instructions का address set करें।
 2. मेमोरी से इंस्ट्रक्शन रजिस्टर तक instructions पढ़ें।
 3. ऑपरेशन के लिए और ऑपरेंड के बारे में instructions की explanation करता है।
 4. यदि ऑपरेशन में मेमोरी या I/O में एक ऑपरेंड का reference शामिल है, तो ऑपरेंड के पते की गणना करें और ऑपरेंड फॉर्म मेमोरी या I/O को पढ़ें।
 5. instructions में बताए गए ऑपरेशन को करें।
 6. result को वापस मेमोरी में स्टोर करें या I/O के माध्यम से बाहर करें।
तो, महत्वपूर्ण बात यह है कि execution cycle के भीतर एक और sub-cycle introduced किया जा सकता है, जिसे indirect cycle कहा जाता है। क्योंकि, एक instructions लाने के बाद, यह निर्धारित करने के लिए जांच की जाती है कि क्या कोई indirect address शामिल है और यदि ऐसा है, तो indirect addresses का उपयोग करके आवश्यक ऑपरेंड प्राप्त किया जाता है। इसलिए, यदि किसी instructions के execution में मेमोरी में एक या अधिक ऑपरेंड शामिल होते हैं, जिनमें से प्रत्येक को मेमोरी एक्सेस की आवश्यकता होती है और इसे indirect cycle के रूप में जाना जाता है।
अब, क्या होगा यदि हम execution cycle में interrupt की incident करें। मान लीजिए, जब सीपीयू एक instructions को executed कर रहा होता है, तो एक interrupts generate होता है, तो सीपीयू वर्तमान instructions के execution को पूरा किए बिना अपने control को interrupt service routine में transferred नहीं करेगा। 
Instruction cycle in hindi - इंस्ट्रक्शन साइकिल क्या है


टिप्पणियाँ

इस ब्लॉग से लोकप्रिय पोस्ट

half adder and full adder in hindi

  आज हम  computer in hindi  मे  आज हम half adder and full adder in hindi - computer system architecture in hindi   के बारे में जानकारी देगे क्या होती है तो चलिए शुरु करते हैं-   के बारे में जानकारी देगे क्या होती है तो चलिए शुरु करते हैं- half adder and full adder in hindi:- 1. half adder in hindi 2. full adder in hindi  1. Half adder in hindi:- half adder  सबसे basic digital arithmetic circuit 2 binary digits का जोड़ है।  एक combination circuit जो दो bits के arithmetic जोड़ को display करता है उसे half adder कहा जाता है।   half adder के इनपुट variable को Augend और addend bits कहा जाता है। आउटपुट योग और Carrie को बदलता है। दो आउटपुट variable Specified करना आवश्यक है क्योंकि 1 + 1 का योग बाइनरी 10 है, जिसमें दो अंक हैं। हम दो इनपुट वेरिएबल्स के लिए x और y और दो आउटपुट वेरिएबल के लिए S (योग के लिए) और C (कैरी के लिए) असाइन करते हैं। C output 0 है जब तक कि दोनों इनपुट 1 न हों। S आउटपुट योग के कम से कम महत्वपूर्ण बिट का Representation करता है। दो आउटपुट के लिए boolean function सीधे t

physical address and logical address in hindi

आज हम  computer course in hindi  मे हम  physical address and logical address in hindi  के बारे में बताएगें तो चलिए शुरु करते हैं-  physical address and logical address in hindi:- physical address and logical address  कोई भी address CPU द्वारा बनाया जाता है उसे लॉजिकल एड्रेस (logical address) कहते हैं और जो address memory में दिखता है उसे हम फिजिकल मैमोरी एड्रैस कहते हैं ) जिसमें Compile time और Load time address binding है कुछ converted करता है जब logical और physical address समान होते हैं अर्थात् एक जैसे होते हैं लेकिन action time address binding scheme में कुछ change आता है और जब logical और physical में अंतर होता है । इसलिये हम logic address को वर्चुअल एड्रैस ( Virtual Address ) भी कहते है और इसी का प्रयोग करते हैं । logical या virtual address हम कह सकते हैं और सारे logical address जो कि एक प्रोग्राम के द्वारा बनाये जाते हैं उन्हें लॉजिकल एड्रैस स्पेस ( Logical Address Space ) कहते हैं । इसके साथ ही जो physical address इन logical address के साथ होते हैं उन्हें हम फिजिकल एड्रैस स्पेस (