60 likes | 218 Vues
SI = 3. MOS Check. SI = 1. Read. Master Mode Register Check. SI = 0. Write. SI = 2. SI = 0. Terminate. SI = 3. ExecuteUserProgram. Read. IR[4] = 0. M [IR[3,4]]…M[IR[3,4] + 9] = Next data card. No. Does M[IR[3,4]] = $EOJ ?. Yes. Abort. Write. IR[4] = 0.
E N D
SI = 3 MOS Check SI = 1 Read Master Mode Register Check SI = 0 Write SI = 2 SI = 0 Terminate SI = 3 ExecuteUserProgram
Read IR[4] = 0 M[IR[3,4]]…M[IR[3,4] + 9] = Next data card No Does M[IR[3,4]] = $EOJ ? Yes Abort
Write IR[4] = 0 M[IR[3,4]] … M[IR[3,4] + 9] printed to the output file
Terminate Two blank lines printed to output file Load
Load Print header $JOB What type? Control card $DTA IC = 0 m = 0 Read next card End program $END m = 100 ? m … m +9 = card and m = m + 10 No Program card Yes Abort: Memory Exceeded
ExecuteUserProgram IR = M[IC] IC = IC + 1 Examine IR[1,2] LR SR CR BT GD PD H R = M[IR[3,4]]? C = T? SI = 1 SI = 2 SI = 3 R = M[IR[34]] M[IR[34]] = R Yes No Yes IC = IR[3, 4] C = T C = F End Examine