0% found this document useful (0 votes)
157 views3 pages

FIT Assignment

The document describes a program that processes interrupts over time. It starts at time 0 and processes interrupts throughout, printing at various intervals. The program encounters new interrupts during processing and pending interrupts are processed in sequence before ending at time 30 seconds.

Uploaded by

Sohaib Amir
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
157 views3 pages

FIT Assignment

The document describes a program that processes interrupts over time. It starts at time 0 and processes interrupts throughout, printing at various intervals. The program encounters new interrupts during processing and pending interrupts are processed in sequence before ending at time 30 seconds.

Uploaded by

Sohaib Amir
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 3

USL p 1oqram C6m hlu nico t s r

t0 LsR

, Patnten

- k t 105
iSs

enol

t30s

_tns
Enoin e t e 6 Com m u rtc tu 61

tme Paint c T l me
= 2 S secam d T= 30s
ine6 Ds k
3 0 secr d
Usen
Intarupt Cmmunicatim
Pogram 1SR
OTsk
t0 ISR
20sec
t-5seC
Prnt
t I Ssec

2sR
t IS sec

t 25sec

t 3ssec
t
S S
sc c

SR:
sm muntca thn
1-Use P rami
1Ss
at t= 0 Stat at t
Stn t Dts k Ls:
at t 3Ss 3
Ene at t S5s En d t:2-0s
ISs S taut at
tme
Pint e ISR n o c e STnd t = 25s
Encl a t
Stat tt3Ss Tstaul Time: Ssec
Ss
End at t S S
T 5,
203
Pnoce Sing biime
,57,8,9 =
Tntenupts
PendTng 2 , 1 , 6 8 , lo
Aocestn q
Pto c stn i n e =

enendted Tnten upts


Newly
10, 1, 6, 4,3
T8 2o
PnoceOsing time 1 2 19,16
while p roces un
5 Cntenupts en enate d
10L 6 S222
On the baTS h t h e time tnterrupt
w ll be pns ceosed.
w h i l e p oces+h z6
more intem upts genenated
3 , 10!EZ2 9
PoceSTng 2,6,3
Pending LO 4,L£28 2
Paocesinq 6 3,1
Pen olin g

VrocesT nq 6 3, 4,I
Pend Cn 10S1,2 9
Poces seo Seuenee
634, 1,10 , 8 7,5

You might also like