Lec-4: Internal Architecture of 8085 Microprocessor | Working of 8085
Summary
TLDRThe video script is an educational lecture on the workings of the 8085 microprocessor, including its internal structure and operation. The instructor uses a step-by-step approach to explain the processor's architecture, starting from the program counter to the execution of instructions. The lecture aims to demystify the complex diagrams associated with the 8085 by breaking them down into understandable segments, ensuring that viewers can grasp the fundamental concepts of microprocessors.
Takeaways
- 😀 The video script is a tutorial discussing the working of the 8085 microprocessor, including its internal structure and how it performs operations.
- 🔍 The presenter emphasizes the importance of understanding the 8085 microprocessor as it forms the basis for many modern processors, despite its complexity.
- 💻 The tutorial explains the architecture of the 8085, including various types of registers such as general-purpose registers, special registers, and flag registers.
- 🕒 The timing and control unit of the 8085 is highlighted, which manages the timing signals that dictate when and how operations are performed.
- 🛠️ The script delves into the step-by-step process of how instructions are fetched, decoded, and executed within the 8085 microprocessor.
- 🔢 The concept of the program counter is introduced, explaining its role in keeping track of the sequence of instructions being executed.
- 📝 The tutorial covers the assembly language and how it is translated into machine-level instructions that the 8085 can understand and execute.
- 🔧 The video script uses examples to illustrate the process of adding values using the 8085's accumulator and how results are stored in registers.
- 📉 The function of the stack pointer is explained, including how it manages memory addresses for operations like 'push' and 'pop' within the stack.
- 📚 The presenter provides a comprehensive overview of the 8085's architecture, making it accessible even for those new to the topic, with the promise of a follow-up video on flags and flag registers.
Q & A
What is the main topic of the video script?
-The main topic of the video script is the explanation of the working and internal structure of the 8085 microprocessor.
Why is the 8085 microprocessor important in the context of the video?
-The 8085 microprocessor is important because it is considered the starting point for many powerful microprocessors used today, and understanding its architecture and operation is fundamental to grasping more complex systems.
What does the acronym 'CPU' stand for as mentioned in the script?
-In the script, 'CPU' stands for 'Central Processing Unit,' which is the primary component of a computer that performs most of the processing inside the computer.
What is the significance of the program counter in the 8085 microprocessor as discussed in the script?
-The program counter in the 8085 microprocessor is significant as it holds the address of the next instruction to be executed, ensuring the sequential flow of the program.
How does the timing and control unit function in the 8085 microprocessor?
-The timing and control unit in the 8085 microprocessor generates timing signals that dictate when and how operations are performed, managing the sequence of operations and coordinating various components of the processor.
What is the role of the accumulator in the 8085 microprocessor?
-The accumulator in the 8085 microprocessor is a register used for storing operands and results of operations, often involved in arithmetic and logical operations.
What is the purpose of the stack in the context of the 8085 microprocessor?
-The stack in the 8085 microprocessor is used for storing temporary data, managing function calls and returns, and preserving registers' values across function calls, following the Last In, First Out (LIFO) principle.
How does the script describe the process of executing an instruction in the 8085 microprocessor?
-The script describes the process of executing an instruction in the 8085 microprocessor as a series of steps involving fetching the instruction from memory, decoding it, and then executing it, which includes operations like addition, subtraction, and data movement.
What is the function of the instruction register in the 8085 microprocessor?
-The instruction register in the 8085 microprocessor temporarily holds the instruction fetched from memory, allowing the processor to decode and execute it.
How does the script explain the concept of registers in the 8085 microprocessor?
-The script explains that registers in the 8085 microprocessor are specialized storage locations for different types of data and operations, including general-purpose registers, stack pointer, and flag registers.
What is the significance of the flag register in the 8085 microprocessor as hinted in the script?
-The flag register in the 8085 microprocessor holds status flags that indicate the results of operations, such as whether the result is zero, positive, negative, or if an overflow has occurred, which are crucial for conditional branching and program flow control.
Outlines
💻 Introduction to the 8085 Microprocessor
The speaker begins by introducing the topic of the 8085 microprocessor, emphasizing the importance of understanding its internal structure and how it operates. They mention their own experience learning about the 8085 during their engineering studies and the complexity of the subject. The speaker highlights the evolution of microprocessors from the 8085 to modern powerful chips like i7 and i9, while stressing that the foundational concepts start with the 8085. They also discuss the challenges of explaining complex diagrams and the importance of step-by-step learning to truly grasp the concepts.
📚 Detailed Explanation of 8085 Microprocessor Architecture
In this section, the speaker delves into the architecture of the 8085 microprocessor, discussing various components such as registers, the arithmetic logic unit (ALU), and the timing and control unit. They explain the function of each component and how they interact with one another. The speaker also touches upon the concept of registers, differentiating between general-purpose registers and special registers like the flag register. They further elaborate on the process of executing instructions, starting from the program counter and moving through the stages of instruction fetching, decoding, and execution, using examples to clarify the process.
🔍 Deep Dive into Instruction Execution and Memory Management
The speaker continues with a deeper exploration of how instructions are executed within the 8085 microprocessor, focusing on the memory management aspect. They discuss the process of loading values into the accumulator from memory, the role of the stack pointer, and the concept of push and pop operations in the context of the stack. The explanation includes a step-by-step walkthrough of an instruction cycle, illustrating how values are moved between registers and memory. The speaker also introduces the concept of the stack and its organization, explaining how values are stored and retrieved in a last-in, first-out (LIFO) manner.
🚀 Concluding with Practical Application and Upcoming Topics
In the final part of the script, the speaker concludes the discussion on the 8085 microprocessor's operation and its practical applications. They summarize the key points covered in the video and hint at upcoming topics, such as the function of flags in the flag register, which are crucial for understanding the status of the processor after executing instructions. The speaker expresses gratitude for the viewers' attention and sets the stage for further exploration of microprocessor architecture in subsequent videos.
Mindmap
Keywords
💡Microprocessor
💡Internal Structure
💡Registers
💡Timing and Control Unit
💡Arithmetic Logic Unit (ALU)
💡Instruction Set
💡Program Counter
💡Memory Address
💡Instruction Decoding
💡Flag Register
💡Stack Pointer
Highlights
Introduction to the 8085 microprocessor and its significance in the history of computing.
Explanation of the internal structure and working of the 8085 microprocessor.
The importance of understanding the 8085 for grasping the basics of microprocessors.
Overview of the different types of registers in the 8085 microprocessor.
Description of the General Purpose Registers and their functions.
Explanation of the role of the Timing and Control Unit in the 8085.
Details on how the Arithmetic and Logical Unit performs operations.
Discussion on the Serial Input and Output functions of the 8085.
The process of executing instructions step by step in the 8085.
How the Program Counter initiates the execution of a program.
The role of memory in fetching and storing instructions.
Explanation of the Address Bus and Data Bus in the context of the 8085.
The function of the Stack Pointer and its organization in memory.
How the 8085 microprocessor performs arithmetic operations like addition.
The concept of flags in the 8085 and their impact on program execution.
The process of decoding and executing instructions in the 8085.
How the 8085 manages the stack for function calls and returns.
The significance of understanding the 8085 for learning about modern microprocessors.
Transcripts
स्टूडेंट वेलकम तू गेट मेजर्स आज की सिटी
में लेकर आया हूं वर्किंग ऑफ 8085
माइक्रोप्रोसेसर मतलब किस तरीके से ये कम
करता है इंटरनल स्ट्रक्चर भी बोल सकते हो
आप 8085 की और इसको एक्सप्लेन करने के लिए
मैं विद एग्जांपल एक्सप्लेन करूंगा
क्योंकि इसको अगर एग्जांपल के बिना करोगे
ना तो समझ ही नहीं आएगा समझ क्या मैं अगर
अपनी भी बात करूं अपना भी बताऊं तो मैंने
जब अपने बीटेक के टाइम पे ये चीज पड़ी थी
तो समझ तो दूर की बात है मतलब इसको देख के
पहले तो बुक ही बैंड कर देते थे और आप भी
वीडियो मत बैंड कर देना की सर ये कौन सा
खतरनाक डायग्राम ले आए बट एक्चुअल में आज
के टाइम पे या मोबाइल उसे कर रहे हो फोन
उसे कर रहे हो एवं इस वीडियो को देखने के
लिए भी जो लैपटॉप या फोन उसे कर रहे हो
उसकी जो बैक बोन है वो क्या है माइक्रो
प्रोसेसर तो आज के टाइम पे ठीक है हम लोग
बहुत पावरफुल माइक्रोप्रोसेसर को उसे करें
प्रोसेस को उसे करें i7 को i9 को ये
जेनरेशन वो जेनरेशन एप्पल वाले में कहते
हैं मेंबन चिप ए गई m2 चिप ए गई लेकिन इन
सबका जो बेस है वो एक्चुअल में स्टार्टिंग
करता हूं 8085 से ही है तो इसीलिए इसकी
वर्किंग को समय ना बहुत जरूरी है तो
डायग्राम दिखने में जरूर खतरनाक ग रहा है
बट अगर आप इसको एक-एक करके जब स्टेप बाय
स्टेप समझोगे ना तो आपको लगेगा यार ये था
मतलब मैंने खुद अपने टाइम पे अगर सच बताओ
ना तो इतना कम करने की कोशिश की है और ये
तो क्रेन भी नहीं होता इसका रता भी नहीं
होता क्यों क्योंकि कैसे कर लोग अगर आपने
थोड़े बहुत नाम भी याद रख लिए तो आपको
एरोनी याद रहेंगे की ये ऊपर की तरफ था
नीचे था इधर को था ये बाहर को था ये चीज
आप याद नहीं रख सकते तो फिर क्या होता है
जी परचियम बनाने की कोशिश करते हैं तो
भैया ये पर्ची ये फारे भी नहीं बना सकते
इसको तो इतना गंदा डायग्राम है तो कहानी
ना कहानी सबसे बेस्ट जो है वो क्या है
बेस्ट कैसे क्या है इसका की इसको समझ ही
लो तो मैं आपको बिल्कुल ऐसे बिल्कुल मजे
से समझाऊंगा ना अच्छे एग्जांपल से आपको
सारे प्वाइंट्स क्लियर हो जाएंगे तो देखो
एक बार पहले इसको ओवरऑल आर्किटेक्चर में
है क्या यहां पे सबसे पहले तो में आते है
यहां पे रजिस्टेंस डिफरेंट टाइप्स ऑफ
रजिस्टेंस हैं जिसके बड़े में ऑलरेडी मैं
पढ़ा चुका हूं डिफरेंट टाइप्स ऑफ जी तरह
जनरल परपज क्या होते हैं स्पेशल
रेजिस्टेंस कौन-कौन से होते हैं जैसे
टेंपरेरी है फ्लैग रेजिस्टेंस है एवं
हमारे पास यहां पे जनरल परपज इस तरह जैसे
बी सी दी आई हा ल इनके बड़े में ऑलरेडी
आपको पढ़ा चुका हूं एक बार वो वीडियो जरूर
चेक कर लेना क्यों क्योंकि यह सर एक
वीडियो में आप नहीं समझ सकते इसके लिए
पुरी सेट ऑफ सीरीज है सेट ऑफ वीडियो है तो
अगर आप सीक्वेंस में करोगे तो आपको बहुत
अच्छे समझ आएगा तो एक बार टाइप ऑफ रजिस्टर
हमारी वीडियो देख लेना ऊपर आपको लिंक में
जो है वो साड़ी इनफॉरमेशन ए रही होगी और
यहां पे अगर बात करें तो ये रेजिस्टेंस ए
गई ये हमारा ए जाता है टाइमिंग और कंट्रोल
यूनिट टाइम अगेन और कंट्रोल यूनिट का फंडा
क्या होता है ये सारे टाइम और कंट्रोल
सिगनल्स जो है टाइमिंग सिगनल्स जेनरेट
करता है और ये टाइमिंग सिगनल्स बताते हैं
की किस टाइम पे क्या करना है ठीक है आलू
मेरे को पता है की क्या करता है अर्थमैटिक
लॉजिकल यूनिट अर्थमैटिक ऑपरेशनल लॉजिकल
यूनिट को परफॉर्म करता है लेकिन किस चीज
को कब करवाना है कब कहां पे लेक आना है कब
कहां पे भेजना है वो सर टाइमिंग और
कंट्रोल सिग्नल जो है वो मैनेज करता है
फिर यहां पे इंटरप्ट से रिलेटेड जितने भी
कमांड है जितनी भी स्ट्रक्चर है वो यहां
पे एग्जीक्यूट होती है सीरियल इनपुट
सीरियल आउटपुट वाला फंडा यहां पे होता है
और अगर मैं बात करूं यहां पे इसमें सबसे
में जो है वो कहानी जो है वो स्टार्ट होती
है सबसे पहले प्रोग्राम काउंटर से तो ये
पूरे डायग्राम को एक-एक करके देखेंगे
स्टेप में स्टेप तो सबसे पहले फॉक्स आपको
क्या करना है प्रोग्राम काउंटर पे जो
कहानी का आप का सकते हो की सबसे पहले चीज
क्या है जैसे कोई भी कहानी सुनते हैं तो
एक बार की बात है ऐसी करते ना एक बार की
बात है एक राजा था तो भैया यहां पे एक बार
की बात है सबसे पहले क्या है एक प्रोग्राम
काउंटर था और उसका साइज क्या है 16 ठीक है
तो यहां से कहानी हम लोग स्टार्ट करते हैं
लेकिन कहानी को स्टार्ट करने के लिए हमें
कुछ कैरक्टर्स कुछ जो है वो लेने पढ़ते
हैं एक डायरेक्टर्स तो वो मैं यहां पे
क्या लेक चला हूं एक एग्जांपल के तोर पे
ठीक है तो यहां पे एग्जांपल क्या कहता है
मेरे पास ईट ए बी सी ए = 10 बी इस इक्वल
तू 20 सी = ए + बी सिंपली हमने दोनों को
एड किया है ठीक है अब यहां पे ये तो हाय
लेवल लैंग्वेज है इसको क्या करना पड़ता है
मुझे असेंबली लेवल लैंग्वेज में लो लेवल
में कन्वर्ट करना पड़ता है तो फैमिली में
क्या कर सकते हो मूव हमने क्या की ए की
वैल्यू जो हमारे पास यहां पे क्या थी एक
की वैल्यू 10 वो 10 वैल्यू हमने मूव कर दी
एकम्यूलेटर में बाई डिफॉल्टर जब भी हम कोई
भी ऑपरेशन परफॉर्म करते हैं तो 8 0 85 में
अगर आप दो वालुज को सम कर रहे हो और
सब्सट्रैक्ट कर रहे हो मल्टीप्लाई कुछ भी
कर रहे हो उसमें से एक वैल्यू कम से कम
आपकी एकम्युलेटर में जाएगी ही जाएगी दूसरी
वैल्यू आप किसी भी जनरल परपज में दाल दो
बी में दाल दो सी भी दाल दो कहानी पे भी
लेकिन एक वैल्यू तो के लेटर में जाएगी ही
जाएगी वो उसका उसे होगा ही होगा और वो आप
इस डायग्राम से समझ सकते हो की इस आलू ने
जब प्लस करना है तो इसके पास दो वैल्यू
कहां से आई एक वैल्यू देख लो कम्युलेटर से
आएगी मतलब एक तो कुल से आएगी दूसरी आपके
बी में स्टोन कर दो सी में कर दो दे हा ल
कहानी भी स्टोर कर दो वहां से घूम के आपकी
टेंपरेरी में ए जाएगी और टेंपरा सेलू में
चली याद रखना पहले इंपॉर्टेंट पॉइंट है एक
वैल्यू में आएगी ही आएगी चलिए यहां पर
हमारे पास इंस्ट्रक्शन नंबर वन इसको नाम
दे देते हैं यही इंस्ट्रक्शन नंबर तू है
ये इंस्ट्रक्शन नंबर थ्री है सिंपली एड कर
दिया एड बी का मतलब क्या अब इसको इंटरनल
ही समझ ही सकते हो इसका मतलब क्या है हमने
एड कर दिया एक्यूमोलेटर में एकम्युलेटर के
अंदर जो है वो बी की वैल्यू को एड कर दिया
क्योंकि एकम्युलेटर में ऑलरेडी एक ही
वैल्यू ए चुकी है 10 बी की वैल्यू जो है
मतलब यहां पे जो है 20 वैल्यू है वो हमने
रजिस्टर में दाल देनी है दोनों को एड करके
इस तरीके से फंडा जो है वो क्लियर हो जाता
है यहां पे ये लेट पोस्ट ये मेमोरी में
मेरे पास मेमोरी आपको पता है की यहां पे
मेरे पास जो है वो एड्रेस बस 16 बीट की
होती है तो लेट पोस्ट मैं यहां पे एक
एड्रेस ले लेट हूं 1000 ये 100001 और ये
1000 दो ठीक है कुछ इस तरीके से हम मेमोरी
लोकेशन से ले लो अब ये देखो आपको यहां पे
मैं एक छोटा सा डायग्राम पहले माइक्रो
प्रोसेसर का बना के दिखता हूं फिर हम इस
पे आएंगे ये जो हमारा माइक्रो प्रोसेसर है
इसमें सबसे पहले चीज क्या है आपकी
प्रोग्राम काउंटर तो प्रोग्राम काउंटर में
साइड फोल्ड पहले इंस्ट्रक्शन का एड्रेस है
पहले इंस्ट्रक्शन कौन सी है आपकी ₹1000
पड़ी है i1 तो पहले जो इंस्ट्रक्शन है
उसका एड्रेस कहां पे वो पड़ी है 1000 वो
कहां पे है प्रोग्राम काउंटर में लोडेड है
ठीक है तो यहां से कहानी जो है वो आपकी
स्टार्ट होती है तो सबसे पहले स्टेप क्या
है प्रोग्राम काउंटर में जो भी एड्रेस है
प्रोग्राम काउंटर में जो भी एड्रेस है वो
आप ये लोड कैसे हुआ 1000 इसके अंदर आया
कैसे ऑपरेटिंग सिस्टम भी तो कोई चीज है
ऑपरेटिंग सिस्टम साड़ी चीजों को बैक हैंड
पे मैनेज करता है तो उसने पहले क्षेत्र का
एड्रेस यहां पे लोड कर रखा है अब यहां पे
क्या होगा यहां पे क्या आया आपकी एड्रेस
बस सबसे पहले चीज क्या है प्रोग्राम
काउंटर में जो एड्रेस है मुझे एड्रेस पता
ग गया की मुझे फालना गली में जाना है उसे
हाउस नंबर में जाना है तो भैया अब मैं
जाना स्टार्ट करता हूं तो यहां से सबसे
पहले चीज क्या है आपकी एड्रेस बस जो है वो
आई है एड्रेस बस में यहां पर ये एड्रेस
क्योंकि एड्रेस बस क्या है 16 बीट की है
तो 16 बीट का ये एड्रेस जो है वो जेनरेट
होगा और आप उसे पर्टिकुलर एड्रेस पे जाओगे
पहले उसे एड्रेस पे जाओगे ना फिर क्षेत्र
आएगी तो पहले स्टेप क्या है आप उसे एड्रेस
पे गए तो लो जी यहां से भी आप देख सकते हो
प्रोग्राम में जो भी एड्रेस है 16 बीट का
क्योंकि ये आपकी जो वैल्यू है यहां पे आप
का सकते हो की जो एड्रेस बस है वो 16 बीट
की है तो इधर आपके एक मेमोरी है तो यहां
से 16 बीट में जो भी एड्रेस लिखा हुआ है
वो यहां पे आया उसको दो पार्ट्स में
डिवाइड किया आठ जो है वो क्या है एड्रेस
की बेटा और आठ जो है वो क्या है एड्रेस और
डाटा दोनों के लिए उसे की जाति है मैंने
आपको 40 पी आर्किटेक्चर में भी बताया था
की हमारा जो अली यहां पे एड्रेस लॉक इनेबल
ए अली क्या हो गया ये रहा एड्रेस लाश
इनेबल जब इसकी वैल्यू वन होती है क्योंकि
यहां पे मैक्सिमम उसे करते हैं हम जो है
वो एक्चुअल में क्या किया है हमने एड्रेस
और डेटाबेस की दोनों को जो है इकट्ठा उसे
कर लिया तो यहां पे एक्चुअल में क्या आया
हमारी जो 16 पी है जो 16 बीट का जो एड्रेस
है वो यहां पे आएगा आठ ये रहा आठ ये रहा
ठीक है तो आप का सकते हो की एक तरह से ए
दी 0 से लेकर ए दी 7 और यहां पे a8 से लेक
15 तो ये 16 बीट का एड्रेस जो है वह इस
तरीके से आया और ये एड्रेस एक तरह से
मेमोरी में गया आप अब कहां जा रहे हो
मेमोरी में गए लो जी मेमोरी में पहुंच गए
1000 एड्रेस पर पहुंच गए यहां पे जो
इंस्ट्रक्शन है अब क्या होगा इसको रीड करो
तो यहां पे टाइमिंग और कंट्रोल यूनिट जो
है वो क्या ओके करेगा वो एक तरह से क्या
टाइमिंग है ये सिग्नल जेनरेट करता है
सिग्नल जैसे हमारा दिमाग जेनरेट करता है
ना सिग्नल की यार अब ये करो जैसे मैंने
यहां से चलकर यहां तक जाना है ठीक है मेरे
पर में मेरे को लेक जा रही है यहां से
यहां वापस लेक ए रहे हैं यहां से लेकिन
यार ये सारे जो सिग्नल कौन जेनरेट कर रहा
है वही चीज यहां पे जो दिमाग वाला कम है
वो यही पे टाइमिंग और कंट्रोल कर रहा है
तो उसने क्या बोला तुरंत की रीड करो रीड
जो है वो इनेबल हो गया तो रीड हमने किया
क्या इंस्ट्रक्शन को रीड किया तो i1 को
रीड किया अब जब इंस्ट्रक्शन को रीड किया
तो रीड करके हम एड्रेस पे तो पहुंच गए
इंस्ट्रक्शन को रीड करेंगे अब नेक्स्ट
क्या ए गई आपकी डाटा बस
अब यह जो इंस्ट्रक्शन है वह एड्रेस बस में
नहीं आएगी एड्रेस का कम था सिर्फ एड्रेस
तक पहुंचाना अब वहां उसे एड्रेस पे जा के
बंदे को उठाना है उसे इंस्ट्रक्शन को
उठाना है तो इस इंस्ट्रक्शन को रीड करने
के लिए अब जो है वो डाटा बस उसको डेटाबेस
में बिठाऊ और डाटा बस में उसको लेक आओ तो
8 बीट की हमारी डाटा बस होती है अब ये
देखो यही चीज है आपकी ये वाली जो बीता है
इसमें से जो आठ है वो आपकी एड्रेस पे भी
उसे होती है और डाटा पे भी उसे होती है अब
अर्ली की वैल्यू जो है जो आपका ए अली उसकी
वैल्यू क्या हो जाएगी जीरो और जीरो हो गई
तो अब ये है जो ये जो ये वाली जो आपकी फेस
है ये एक्चुअल में डेटाबेस की तरह उसे हो
रही है तो अब आप का सकते हो की डाटा बस
में ये वाली स्ट्रक्चर जो है वो ट्रैवल
करके आएगी तो आई ये इस क्षेत्र को वेलकम
करो जी जब वेलकम किया तो वेलकम करके वो ए
गई अंदर आके क्या करेगी अंदर आके कहां
जाएगी अंदर आके वो जाएगी इंस्ट्रक्शन
रजिस्टर के अंदर तो इंस्ट्रक्शन रजिस्टर्ड
स्पेशलिस्ट है जिसका परपज क्या है वेलकम
करना जो मेमोरी से इंस्ट्रक्शन ए रही है
उसका वेलकम करो की आप और मेरे यहां पर आकर
बैठ जा इंस्ट्रक्शन रजिस्टर में आके वो
इंस्ट्रक्शन आके बैठ गई इसको बोलते हैं
फेच इंस्ट्रक्शन फैज सुना है ना
पाइपलाइनिंग में सुनते इंस्ट्रक्शन फेस
इंस्ट्रक्शन डेकोर एग्जीक्यूट राइट बैक तो
वो पहले स्टेप हो गया आपका इंस्ट्रक्शन
फैज अब जैसे ही इंस्ट्रक्शन सेट हो गई
सक्सेसफुली i1 यहां पे आके बैठ गई तो
तुरंत क्या कर देना दो चीज होगी एक तो इस
इंस्ट्रक्शन को करो डिकोड एक तो करो
इंस्ट्रक्शन को डेकोर अरे भैया
इंस्ट्रक्शन ए गई की मुझे ये करना है पर
पता कैसे लगेगा क्या करना है मुझे एड करना
है मल्टीप्लाई करना सब्सट्रैक्ट करने क्या
करना है तो उसे चीज को जो है वो एक तरह से
डिकोड करना पड़ता है उसको ओपन करना पड़ता
है वो एक्चुअल में इस क्षेत्र डेकोर करता
है ठीक है तो साथ ही साथ ये इंस्ट्रक्शन
को रिकॉर्ड करने के लिए लगा दिया और
प्रोग्राम काउंटर की वैल्यू 1 इंक्रीमेंट
हो गई क्यों क्योंकि प्रोग्राम काउंटर जो
है वो रुक नहीं रहेगा वो बोलेगा ठीक है तो
इसको एग्जीक्यूट कर इतने में मैं तेरे को
नेक्स्ट इंस्ट्रक्शन का एड्रेस दे दूंगा
तो नेक्स्ट इंस्ट्रक्शन का एड्रेस एक तरह
से प्रोग्राम काउंटर अब इसको दिनो कर रहा
है तो यहां पे हमारे पास क्या है ये जो
इंक्रीमेंट और डिक्रिमेंट है इसलिए क्या
कर दिया इंक्रीमेंट कर दिया प्रोग्राम
काउंटर की वैल्यू को ठीक है तो यहां पे दो
चीज होगी प्रोग्राम काउंटर की वैल्यू
इंक्रीमेंट भी होगी और यहां पे
इंस्ट्रक्शन को जो पहले वाली थी i1 वाली
वो डिकोड हनी स्टार्ट हो गई अब उसको डिकोड
किया एक तरह से ये इंस्ट्रक्शन है वैसे तो
ये जीरो वन जीरो वन की फॉर्म में होगी
क्योंकि लोन लेवल लैंग्वेज से जीरो वन
नहीं है कंप्यूटर तो जीरो वन समझना है बट
आपको मैंने इस तरीके से लिख दी ताकि आपको
समझ ए जाए की इसमें क्या
कर रहे हैं एकम्युलेटर में ये वैल्यू ठीक
है अब ये इस क्षेत्र को डिकोड किया डिकोड
करके कंप्यूटर को पता ग गया
माइक्रोप्रोसेसर पता ग गया की भैया 10
वैल्यू को लोड करो एकम्युलेटर के अंदर तो
क्यों वो लेटर के अंदर जो है वो 10 वैल्यू
को लोड किया जाएगा तो यहां पे एक तरह से
आप का सकते हो की जब ये डिकोड हो गई डिकोड
हो के टाइमिंग और कंट्रोल सिग्नल को पता ग
गया की अब क्या करना है उसने फिर जो है वो
टाइमिंग और कंट्रोल सिगनल्स को जेनरेट
किया और क्या रहेगा की 10 वैल्यू को नोट
करो किसके अंदर एकम्युलेटर के अंदर तो है
क्यों वो लेटर के अंदर आप का सकते हो की
जो 10 वैल्यू है वो क्या होगी आपकी लोड हो
गई ठीक है तो यहां से आपकी इंस्ट्रक्शन
यहां से एड्रेस गया था आपकी जो है वो
स्ट्रक्चर आई इंस्ट्रक्शन ए के यहां से
घूम के इंस्ट्रक्शन जिसमें बैठ गए रिकॉर्ड
हो गई टाइमिंग कंट्रोल को पता ग गया की
भैया ये करना है तो उसने क्या किया 10
वैल्यू जो है वो एकम्युलेटर में लोड कर दी
10 वैल्यू लेटर में नोट कर दी अब क्या हो
गया एक ही स्ट्रक्चर आपकी एग्जीक्यूट हो
गई
अब दूसरा मूव करना है मतलब दोबारा
एक पे है नेक्स्ट चाहिए फिर एड्रेस गया 11
पे गए वहां से डाटा बस के थ्रू हमने कल की
इंस्ट्रक्शन को कल की फिर इंस्पेक्शन
सिस्टम में आई उसको रिकॉर्ड की आप पता ग
गया की भैया क्या करना है मूव बी मतलब आप
बी रजिस्टर में क्या दाल दो 20 वैल्यू दाल
दो तो 20 वैल्यू जो है वो हमारी क्योंकि
हम हेक्साडेसिमल में उसको रिप्रेजेंट कर
रहे हैं तो वो आपकी दाल दो किसके अंदर बी
के अंदर चलो जी फिर हमारी वहां से मेमोरी
से इंस्ट्रक्शन आई उसको यहां पे हमने
रजिस्टर में डाला फिर उसको रिकॉर्ड के
टाइमिंग कंट्रोल में अब क्या करना है की
भैया डालो अभी बी के अंदर इस बी वाले
रजिस्टर में क्या दाल दो 20 वैल्यू दाल दो
ठीक है तो ये 20 वैल्यू एक तरह से यहां ए
गई मतलब हेक्साडेसिमल में आप लिख सकते हो
इसको जैसे 14h लिखा हुआ है और यहां पे
हमारे पास टाइम ए गई तो इन दोनों को क्या
करना है नेक्स्ट रिस्ट्रिक्शन क्या है फिर
प्रोग्राम काउंटर इंक्रीमेंट हो जाता है
प्रोग्राम काउंटर आपका फेच होने के बाद ही
हो जाता है एग्जीक्यूट होने के बाद में
फैट होने के बाद इंक्रीमेंट हो जाता है
फिर वो क्या करेगा करेगा तो एड करने के
लिए भाई एकम्युलेटर से आपकी क्या वैल्यू
होगी एक तरह से 10 और जो यहां पर भी
रजिस्टर है इसमें वैल्यू जो है वो क्या थी
20 तो वो यहां से टेंपरेरी जिसमें एक बार
के लिए टेंपरेरी स्टोर कर दी परमानेंटली
नाम ही टेंपरेरी है तो यहां पे वैल्यू
क्या ए गई 20 लो जी एकम्युलेटर में वैल्यू
दे दी हमने एकम्युलेटर आप ओ सॉरी आलू में
वैल्यू दे दी अली आलू का पता ही है आपके
ऑर्थोमेंटोलॉजी के लिए दोनों को क्या कर
देगा एड कर देगा एड करके क्या गया रिजल्ट
तो जो रिजल्ट आया अब उसे रिजल्ट का क्या
करना है उसे रिजल्ट को लेट अगर मुझे कब
लेटर में भी डालना है अभी तो कैबिनेट में
डालना लो जी कुबूल लेटर में एक बार स्टोर
कर दिया अब यहां से मुझे निकाल के मेमोरी
को देना है तो आप मेमोरी को दिवा सकते हो
यहां से उठा के अगर आपको लेट पोस्ट आपको
डिवाइस को देना है आप उसको राइट करवा सकते
हो तो यहां पे ये एक सिंपल सा का सकते हो
की सीक्वेंस ऑफ स्टेप्स जो है वो परफॉर्म
करता है तो यहां पे मैक्सिमम चीज जो है वो
आपको समझ ए गए होंगे की किस तरीके से
हमारी वर्किंग जो है वो चल रही है
इसके बाद हमारे पास एक ए जाता है यहां पे
स्टॉक पेंटर का फंडा स्टैक पेंटर का
बेसिकली फंदा क्या होता है इसके अंदर होता
है टॉप ऑफ डी स्टॉक का एड्रेस जल्दी हमारे
पास टैग है आपको पता है स्ट्राइक के बड़े
में आपने पढ़ा हुआ है लास्ट टाइम फर्स्ट
टर्म ठीक है लास्ट इन फर्स्ट आउट तो स्टॉक
आपको पता है की कैसे क करता है जैसे पर
एग्जांपल ये मेरा एड्रेस नंबर है ₹105 ये
एड्रेस नंबर है एक हजार कर ये एड्रेस नंबर
है 103 ये एड्रेस नंबर है 102 या एड्रेस
नंबर है 1000 लेट फोन आपका जो टॉप ऑफ डी
स्टॉक है फिलहाल जो है वो आपका टॉप ऑफ डी
स्टैग जो है वो यहां पे पड़ा ठीक है अब
लेट पोस्ट मुझे वही चीज करनी है ए + बी
अगर मुझे परफॉर्म करना है तो जल्दी जो
आपकी स्टॉक ऑर्गेनाइजेशन है वो जीरो
एड्रेस स्ट्रक्चर के लिए उसे की जाति है
जीरो एड्स मतलब जहां पे हम कोई भी एड्रेस
बगैर मेंशन करते हैं हम वहां पे सिंपली
लिखने हैं स्ट्रक्शन क्या पुश पुश करते
हैं ठीक है तो इसका मतलब क्या है उसका
मतलब क्या है जैसे ही इंस्ट्रक्शन
प्रोग्राम काउंटर में मेमोरी क्षेत्र को
उठाया डिकोड किया सपोर्ट करते क्या मतलब
क्या है एक तरह से आप स्टैक पेंटर मतलब
टॉप ऑफ डी स्टॉक में पुश कर दो लेट ये
वैल्यू है 10 ये वैल्यू है 20 तो एक तरह
से 10 वैल्यू जो है वो टॉप ऑफ डी सेट अब
ये टॉप ऑफ डी स्टॉक का एड्रेस कहां है ये
105 कहां है वो एड्रेस आपका कहां है स्टॉक
पॉइंट के अंदर तो स्टॉक पेंटर से एड्रेस
उठाया हम उसे ये कहां पे है ये स्टॉक एक
तरह से कहां पे है तो ये मेमोरी के अंदर
ही ये ऑर्गेनाइज्ड डाटा स्ट्रक्चर होता है
मेमोरी के अंदर आपका प्रोग्राम भी होते
हैं सेट ऑफ इंस्ट्रक्शन भी होती है डाटा
भी होता है और आपका स्टॉक जो ऑर्गेनाइजेशन
है वो भी वही पे होता है तो मेमोरी में गए
वहां पे टॉप ऑफ डी स्टैग में हमने क्या कर
दिया 10 वैल्यू एक तरह से पुश कर दी ठीक
है फिर उसके बाद क्या होगा ये टॉप ऑफ डी
स्टॉक डिक्रीमेंट हो गया तो डिक्रीमेंट हो
के यहां पे चला गया ये देख लो जी ये आपका
डिक्रीमेंट इस कैसे में उसे होता है तो
डिक्रिमेंट हुआ वो टॉप 10 अब नेक्स्ट
इंस्ट्रक्शन फिर उठाई नेक्स्ट इंस्ट्रक्शन
में क्या लिखा था प्रोग्राम काउंटर में
वही सही नेक्स्ट इंस्ट्रक्शन उठाई
मेमोरियल एड्रेस पे गया जी जहां पे भी
सारे स्ट्रक्चर डी है जैसे पहले किया था
हमने इंस्ट्रक्शन को उठाया रिकॉर्ड किया
उसमें क्या लिखा था तो यहां पे फिर क्या
लिख दिया
फिर क्या लिखा था वहां पे पुश तो इसका
मतलब क्या है टॉप ऑफ डी स्टॉक में नेक्स्ट
वैल्यू बी की पुश कर दो तो आप टॉप ऑफ डी
स्ट्रीट ये रहा इसका एड्रेस कहां से
मिलेगा फिर वही स्ट्राइक पेंटर से यहां पे
क्या कर दिया पुश कर दिया 20 ठीक है उसके
बाद क्या लिखा था यहां पे फिर हम
प्रोग्राम काउंटर में जो नेक्स्ट एड्रेस
जो है वो इसका था हमने इस क्षेत्र को कल
किया से वही फंडा इस क्षेत्र जिसके अंदर
ये इंस्ट्रक्शन आई उसको रिकॉर्ड किया तब
पता लगा पाव अब पॉप का मतलब क्या होता है
की जो आपकी लास्ट दो वालुज हैं क्योंकि
स्टॉक में क्या होता है आप इस तरीके से
एक-एक करके भारते हो और लास्ट में जो आपने
डाली वही आप बाहर निकलोगे और लेट अगर आप
एड कर रहे हो तो आपको पता है एड इसे
बाइनरी तो लास्ट में आपने जो दो डाली वो
निकाल लो तो लास्ट में जो दो डाली है वो
निकाल लो तो पॉप क्या करेगा एक तरह से
आपका इंक्रीमेंट कर देगा तो जैसे ही हमने
ये 20 डाला तो टॉप 10 स्ट्रेट यहां पे अब
उसके बाद इसको दो इंक्रीमेंट किया तो दो
इंक्रीमेंट करके एक तरह से 20 को बार
निकाल लिया 10 को बाहर निकाल लिया और इसको
क्या कर दिया 30 करके दोबारा फिर पुश कर
दी तो ये आप चाहे जीरो
इंस्ट्रक्शन कर लो जैसे भी आप इसको उसे
करना चाहते हो आप इस तरीके से इसको उसे कर
सकते हो तो ये सर जो है वो बेसिक वर्किंग
आपको पता ग गई की किस तरीके से जो है वो
माइक्रोप्रोसेसर आपका क करता है नेक्स्ट
वीडियो में हम लोग समझेंगे फ्लैग वाला जो
ये फ्लैग क्योंकि आपको मैक्सिमम
रेजिस्टेंस के बड़े में पता ग गया लेकिन
जो आपको क्योंकि मैंने लास्ट वीडियो में
भी आपको फ्लैगपाॅइंट सॉरी सारे प्वाइंट्स
के सारे जो रेजिस्टेंस के बड़े में आपको
पढ़ा दिया लेकिन अब आपको वर्किंग भी पढ़ा
दी अब हम नेक्स्ट वीडियो में पढ़ेंगे
फ्लैग फ्लैग रजिस्टर का बेसिकली फंदा क्या
होता है जो हमारा स्टेटस है रिजल्ट का की
करी है या नहीं परिर्टी है या नहीं
ऑग्ज़ीलियरी करी है या नहीं वैल्यू जीरो
आई है ना ये सन क्या है प्लस में आंसर आया
माइंस में वो साड़ी चीज जो है वो फ्लैग के
अंदर स्टोर होती है तो ये हम नेक्स्ट
वीडियो में पढ़ेंगे तो इस वीडियो में इतना
थैंक यू
Voir Plus de Vidéos Connexes
Lec-8: Instruction in 8085 | 1B, 2B & 3B Instructions | Opcode & Operand | Microprocessor
8085 Architecture | Learn Intel 8085 Microprocessor Architecture Step - By - Step
L-1.4:Types of Buses (Address, Data and Control) in Computer Organization and Architecture
Lec-9: Branching in 8085 | Microprocessor
DMA(Direct Memory Access) in 8085 Microprocessor Explained in Hindi l Microprocessor Series
Axioms of Probability (Clearly Explained With Examples) | Statistics Tutor
5.0 / 5 (0 votes)