Question:
Which of the following registers is written by the host to send output?
निम्न रजिस्टरों में से किस को होस्ट द्वारा निर्गत भेजने के लिए लिखा गया है?
Options:
- Status
- Control
- Data-in
- Data-out
- स्थिति
- कंट्रोोल
- डेटा इन
- डेटाआउट
Correct Answer: d)
Explanation:
Detailed Explanation:
The correct answer is d) Data-out (डेटाआउट).
I/O Controller Registers: An I/O port or controller exposes four standard hardware registers to the host processor:
- Data-out Register: Written by the host computer to send data bytes out to the device for transmission or output.
- Data-in Register: Read by the host computer to receive input data bytes provided by the device.
- Status Register: Read by the host to inspect the device’s operational state (such as the busy bit, error bit, or data-ready flag).
- Control Register: Written by the host to issue command codes (e.g., start read, start write, reset) or configure operational modes.
Therefore, to output data to a device, the host writes directly to the data-out register.
विस्तृत व्याख्या:
सही उत्तर d) डेटाआउट है।
कंट्रोलर रजिस्टरों के कार्य: किसी I/O डिवाइस कंट्रोलर में सामान्यतः चार मुख्य रजिस्टर होते हैं:
- डेटा-आउट (Data-out) रजिस्टर: जब होस्ट (कंप्यूटर) को डिवाइस को कोई डेटा या निर्गत (output) भेजना होता है, तो वह इसे डेटा-आउट रजिस्टर में राइट (लिखता) करता है।
- डेटा-इन (Data-in) रजिस्टर: डिवाइस से इनपुट डेटा प्राप्त करने के लिए होस्ट द्वारा इसे पढ़ा (read) जाता है।
- स्टेटस (Status) रजिस्टर: यह डिवाइस की वर्तमान स्थिति (जैसे व्यस्त, तैयार, त्रुटि) की जानकारी देता है।
- कंट्रोल (Control) रजिस्टर: होस्ट द्वारा डिवाइस को कमांड देने या मोड बदलने के लिए इसमें निर्देश लिखे जाते हैं।