Input-output organization


Polling or Status Checking



Download 2,05 Mb.
bet10/17
Sana17.07.2022
Hajmi2,05 Mb.
#814847
1   ...   6   7   8   9   10   11   12   13   ...   17
Polling or Status Checking
ead status register Check flag bit

Continuous CPU involvement
flag = 0 CPU slowed down to I/O speed
= 1 Simple
Read data register Least hardware
Transfer data to memory Transferring data under program control
requires constant monitoring of the peripherals
no Operation by the CPU.(CPU stays in a program loop).
complete? Useful for small low speed computers or in yes systems that are dedicated to monitor a device Continue with continuously. program




Example

Consider a typical computer that can execute the two instructions that read the status register and check the flag in 1 μs. Assume that the input device transfers its data at an average rate of 100bytes per second. This is equivalent to one byte every 10,000 μs. This means that the CPU will check the flag 10,000 times between each transfer. (Know as polling and status checking.)




MODES OF TRANSFER - INTERRUPT INITIATED I/O

  • Polling takes valuable CPU time

  • Open communication only when some data has to be passed -> Interrupt to the CPU.

  • I/O interface, instead of the CPU, monitors the I/O device.

  • When the interface determines that the I/O device is ready for data transfer, it generates an Interrupt Request to the CPU.





Download 2,05 Mb.

Do'stlaringiz bilan baham:
1   ...   6   7   8   9   10   11   12   13   ...   17




Ma'lumotlar bazasi mualliflik huquqi bilan himoyalangan ©hozir.org 2024
ma'muriyatiga murojaat qiling

kiriting | ro'yxatdan o'tish
    Bosh sahifa
юртда тантана
Боғда битган
Бугун юртда
Эшитганлар жилманглар
Эшитмадим деманглар
битган бодомлар
Yangiariq tumani
qitish marakazi
Raqamli texnologiyalar
ilishida muhokamadan
tasdiqqa tavsiya
tavsiya etilgan
iqtisodiyot kafedrasi
steiermarkischen landesregierung
asarlaringizni yuboring
o'zingizning asarlaringizni
Iltimos faqat
faqat o'zingizning
steierm rkischen
landesregierung fachabteilung
rkischen landesregierung
hamshira loyihasi
loyihasi mavsum
faolyatining oqibatlari
asosiy adabiyotlar
fakulteti ahborot
ahborot havfsizligi
havfsizligi kafedrasi
fanidan bo’yicha
fakulteti iqtisodiyot
boshqaruv fakulteti
chiqarishda boshqaruv
ishlab chiqarishda
iqtisodiyot fakultet
multiservis tarmoqlari
fanidan asosiy
Uzbek fanidan
mavzulari potok
asosidagi multiservis
'aliyyil a'ziym
billahil 'aliyyil
illaa billahil
quvvata illaa
falah' deganida
Kompyuter savodxonligi
bo’yicha mustaqil
'alal falah'
Hayya 'alal
'alas soloh
Hayya 'alas
mavsum boyicha


yuklab olish