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

Instruction format in hindi - इंस्ट्रक्शन फॉरमेट क्या है

 Instruction format in hindi :-

एक instruction operation code (OPCODE) और operand से बना है। instructions का पहला भाग performance किए जाने वाले कार्य को specified करता है जिसे OPCODE कहा जाता है और instructions का दूसरा भाग operated होने वाला डेटा है, और इसे operand कहा जाता है। अब, instructions का operation विभिन्न रूपों में हो सकता है जैसे कि 8-बिट या 16-बिट डेटा, 8-बिट या 16-बिट पता, रजिस्टर या मेमोरी पता आदि। इसलिए, instruction format अलग-अलग instructions में भिन्न हो सकता है। (एक instruction format एक instruction के बिट्स का लेआउट है, इसके component fields के reference में)। 

Types of Instruction format:-

Instruction format in hindi

1. Zero-Address Instructions
2. One-Address Instructions
3. Two-Address Instructions
4. Three-Address Instructions

1. Zero-Address Instructions:-

Instruction format in hindi

PUSH A i.e., insert the content of A into the stack

2. One-Address Instructions:-

Instruction format in hindi
example,
ADD B i.e. Accumulator <- Accumulator + B

3. Two-Address Instructions:-

Instruction format in hindi
example,
ADD A, B i.e. A <- A+B

4. Three-Address Instructions:-

Instruction format in hindi
example,
ADD A, B, C i.e. A <- B+C

Instruction Length:-

यह मेमोरी साइज, memory organization, bus structure, processor complexity और प्रोसेसर की गति पर निर्भर करता है। अधिक prosperity और flexible बनाने के लिए, असेंबली लैंग्वेज प्रोग्रामर अधिक ऑपकोड, अधिक ऑपरेंड और अधिक एड्रेसिंग मोड चाहता है, क्योंकि अधिक ऑपकोड और अधिक ऑपरेंड प्रोग्राम लिखने का एक आसान तरीका प्रदान करते हैं और अधिक एड्रेसिंग मोड कुछ को लागू करने के लिए बेहतर लचीलापन प्रदान करते हैं। कार्य करता है। लेकिन, समस्या स्थान के साथ है, क्योंकि अधिक ऑपकोड, ऑपरेंड और अधिक एड्रेसिंग मोड के लिए अधिक स्थान की आवश्यकता होती है, और इसलिए हम कहते हैं कि एक Business बंद है। फिर से, एक और महत्वपूर्ण बिंदु यह है कि क्या instructions की लंबाई मेमोरी ट्रांसफर की लंबाई के बराबर होनी चाहिए या ट्रांसफर की लंबाई से अधिक होनी चाहिए।

Allocation of Bits:-

ओपकोड और पता फ़ील्ड के लिए instructions के बिट्स कैसे allotted करें। यदि ओपकोड भाग के लिए अधिक संख्या में बिट्स allotted किए जाते हैं, तो अधिक संख्या में ओपकोड हो सकते हैं, लेकिन एड्रेसिंग के लिए उपलब्ध बिट्स की संख्या कम कर देता है। इसलिए, यहां बिट्स के allotted में भी समझौता किया गया है।
  • एड्रेसिंग मोड की संख्या।
  • ऑपरेंड की संख्या। 
  • रजिस्टर सेट में रजिस्टर की संख्या। 
  • Commemoration को referenced करने के लिए address range।


टिप्पणियाँ

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

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 के साथ होते हैं उन्हें हम फिजिकल एड्रैस स्पेस (