One alternative is the software poll. When the processor detects an in dịch - One alternative is the software poll. When the processor detects an in Việt làm thế nào để nói

One alternative is the software pol

One alternative is the software poll. When the processor detects an interrupt,
it branches to an interrupt-service routine whose job it is to poll each I/O module
to determine which module caused the interrupt. The poll could be in the form of a
separate command line (e.g., TESTI/O). In this case, the processor raises TESTI/O
and places the address of a particular I/O module on the address lines. The I/O module responds positively if it sets the interrupt. Alternatively, each I/O module could
contain an addressable status register. The processor then reads the status register
of each I/O module to identify the interrupting module. Once the correct module is
identified, the processor branches to a device-service routine specific to that device.
The disadvantage of the software poll is that it is time consuming. A more efficient
technique is to use a daisy chain, which provides, in effect, a hardware poll. An example
of a daisy-chain configuration is shown in Figure 3.30. For interrupts, all I/O modules
share a common interrupt request line. The interrupt acknowledge line is daisy chained
through the modules. When the processor senses an interrupt, it sends out an interrupt
acknowledge. This signal propagates through a series of I/O modules until it gets to a
requesting module. The requesting module typically responds by placing a word on
the data lines. This word is referred to as a vector and is either the address of the I/O
module or some other unique identifier. In either case, the processor uses the vector as
a pointer to the appropriate device-service routine. This avoids the need to execute a
general interrupt-service routine first. This technique is called a vectored interrupt.
There is another technique that makes use of vectored interrupts, and that is
bus arbitration. With bus arbitration, an I/O module must first gain control of the
bus before it can raise the interrupt request line. Thus, only one module can raise the
line at a time. When the processor detects the interrupt, it responds on the interrupt
acknowledge line. The requesting module then places its vector on the data lines.
The aforementioned techniques serve to identify the requesting I/O module.
They also provide a way of assigning priorities when more than one device is requesting interrupt service. With multiple lines, the processor just picks the interrupt line
with the highest priority. With software polling, the order in which modules are
polled determines their priority. Similarly, the order of modules on a daisy chain
determines their priority. Finally, bus arbitration can employ a priority scheme, as
discussed in Section 3.4.
We now turn to two examples of interrupt structures
0/5000
Từ: -
Sang: -
Kết quả (Việt) 1: [Sao chép]
Sao chép!
Một cách khác là các cuộc thăm dò phần mềm. Khi bộ vi xử lý phát hiện một gián đoạn,nhánh để một thói quen làm gián đoạn dịch vụ mà công việc đó là thăm dò ý kiến mỗi module I/Ođể xác định mô-đun đó gây ra sự gián đoạn. Các cuộc thăm dò có thể dưới hình thức mộtdòng lệnh riêng biệt (ví dụ: TESTI/O). Trong trường hợp này, các bộ xử lý tăng TESTI/Ovà đặt địa chỉ của một module I/O đặc biệt trên các địa chỉ đường. Các module I/O phản ứng tích cực nếu nó là tập hợp ngắt. Ngoài ra, có thể mỗi module I/Ochứa một trạng thái địa chỉ đăng ký. Bộ vi xử lý sau đó đọc đăng ký tình trạngmỗi module I/O để xác định mô-đun ngắt. Một khi các mô-đun chính xácđược xác định, xử lý chi nhánh để một thói quen thiết bị-dịch vụ cụ thể cho thiết bị đó.Những bất lợi của các cuộc thăm dò phần mềm là nó tốn thời gian. Một hiệu quả hơnkỹ thuật là sử dụng một chuỗi daisy, cung cấp, trong thực tế, một cuộc thăm dò phần cứng. Một ví dụdaisy chuỗi cấu hình được hiển thị trong hình 3,30. Để ngắt, tất cả các module I/Ochia sẻ một dòng yêu cầu ngắt phổ biến. Gián đoạn việc thừa nhận là daisy chuỗithông qua các mô-đun. Khi bộ vi xử lý cảm giác, ngắt, nó sẽ gửi ra một ngắtthừa nhận. Tín hiệu này lan truyền qua một loạt các I/O mô-đun cho đến khi nó được đến mộtyêu cầu mô-đun. Các module yêu cầu thường phản ứng bằng cách đặt một từ trênCác dòng dữ liệu. Từ này được gọi là một vector và là một trong hai địa chỉ của I/OMô-đun hoặc một số khác nhận dạng duy nhất. Trong cả hai trường hợp, bộ vi xử lý sử dụng véc tơ nhưmột con trỏ đến thói quen thiết bị-dịch vụ thích hợp. Điều này tránh sự cần thiết để thực hiện mộtTổng hợp gián đoạn dịch vụ thường xuyên đầu tiên. Kỹ thuật này được gọi là một gián đoạn vectored.Đó là một kỹ thuật mà làm cho việc sử dụng vectored ngắt, và đó làxe buýt trọng tài. Với trọng tài xe buýt, một module I/O phải lần đầu tiên giành quyền kiểm soát của cácxe buýt trước khi nó có thể nâng cao yêu cầu ngắt dòng. Vì vậy, chỉ có một module có thể nâng cao cácdòng tại một thời điểm. Khi bộ vi xử lý phát hiện sự gián đoạn, nó đáp ứng vào gián đoạnthừa nhận dòng. Yêu cầu mô-đun sau đó nơi véc tơ của mình trên các dòng dữ liệu.Các kỹ thuật nói trên nhằm mục đích xác định các module I/O yêu cầu.Họ cũng cung cấp một cách để gán ưu tiên khi nhiều thiết bị yêu cầu làm gián đoạn dịch vụ. Với nhiều dòng, bộ vi xử lý chỉ chọn ngắt dòngvới ưu tiên cao nhất. Với phần mềm bỏ phiếu, theo thứ tự mà trong đó các mô-đun làđược hỏi xác định ưu tiên của họ. Tương tự, thứ tự của các mô-đun trên một chuỗi daisyxác định ưu tiên của họ. Cuối cùng, bus trọng tài có thể sử dụng một chương trình ưu tiên, như làthảo luận ở phần 3,4.Chúng tôi bây giờ chuyển sang hai ví dụ về cấu trúc ngắt
đang được dịch, vui lòng đợi..
 
Các ngôn ngữ khác
Hỗ trợ công cụ dịch thuật: Albania, Amharic, Anh, Armenia, Azerbaijan, Ba Lan, Ba Tư, Bantu, Basque, Belarus, Bengal, Bosnia, Bulgaria, Bồ Đào Nha, Catalan, Cebuano, Chichewa, Corsi, Creole (Haiti), Croatia, Do Thái, Estonia, Filipino, Frisia, Gael Scotland, Galicia, George, Gujarat, Hausa, Hawaii, Hindi, Hmong, Hungary, Hy Lạp, Hà Lan, Hà Lan (Nam Phi), Hàn, Iceland, Igbo, Ireland, Java, Kannada, Kazakh, Khmer, Kinyarwanda, Klingon, Kurd, Kyrgyz, Latinh, Latvia, Litva, Luxembourg, Lào, Macedonia, Malagasy, Malayalam, Malta, Maori, Marathi, Myanmar, Mã Lai, Mông Cổ, Na Uy, Nepal, Nga, Nhật, Odia (Oriya), Pashto, Pháp, Phát hiện ngôn ngữ, Phần Lan, Punjab, Quốc tế ngữ, Rumani, Samoa, Serbia, Sesotho, Shona, Sindhi, Sinhala, Slovak, Slovenia, Somali, Sunda, Swahili, Séc, Tajik, Tamil, Tatar, Telugu, Thái, Thổ Nhĩ Kỳ, Thụy Điển, Tiếng Indonesia, Tiếng Ý, Trung, Trung (Phồn thể), Turkmen, Tây Ban Nha, Ukraina, Urdu, Uyghur, Uzbek, Việt, Xứ Wales, Yiddish, Yoruba, Zulu, Đan Mạch, Đức, Ả Rập, dịch ngôn ngữ.

Copyright ©2025 I Love Translation. All reserved.

E-mail: