Microsoft PowerPoint Section a sequence Control [Compatibility Mode]


The current value of CIP is saved in the resume point location of activation



Download 43.8 Kb.
View original pdf
Page14/14
Date16.06.2022
Size43.8 Kb.
#59012
1   ...   6   7   8   9   10   11   12   13   14
Section A Sequence Control
The current value of CIP is saved in the resume point location of activation
record for A.
The ip value in the resume point location is fetched from B’s activation record
and assigned to CIP so that subprogram B resume at proper location


SCHEDULED SUBPROGRAMS
Subprogram Scheduling
Normally execution of subprogram is assumed to be initiated immediately
upon its call
Subprogram scheduling relaxes the above condition.
Scheduling Techniques:
1. Schedule subprogram to be executed before or after other subprograms.
call B after A
2.Schedule subprogram to be executed when given Boolean expression is true
call X when Y = 7 and Z > 0
3. Schedule subprograms on basis of a simulated time scale.
call Bat time = Currenttime + 50
4. Schedule subprograms according to a priority designation
call B with priority 5
Languages : GPSS, SIMULA

Download 43.8 Kb.

Share with your friends:
1   ...   6   7   8   9   10   11   12   13   14




The database is protected by copyright ©ininet.org 2022
send message

    Main page