Program Execution   Key

Show all the state changes during the balance of program execution at the corresponding time step in Table 1. You may or may not need all of the rows in Table 1. Use the column whose heading is Phase to keep track of which phase (FETCH, DECODE, or EXECUTE) of the instruction cycle is currently being executed.  Fill in the instructions for lines 100-124

100          PC start

12            Number of words to follow

100 2104 LDA_data0

101 1105 ADD_data1

102 F080 ION

103 411F BUN_OUT

104 1234 data0_1234

105 76E6 data1_76E6

11F F400 OUT

120 7200 LOP_CMA

121 1105 ADD_data1

122 7002 SZE

123 4120 BUN_LOP

124 7001 HLT

AND

0xxx, 8xxx

 

 

 

 

ADD

1xxx, 9xxx

 

 

 

 

LDA

2xxx, Axxx

 

 

 

 

STA

3xxx, Bxxx

 

 

SPA

7010

BUN

4xxx, Cxxx

 

 

SNA

7008

BSA

5xxx, Dxxx

 

 

SZA

7004

ISZ

6xxx, Exxx

 

 

SZE

7002

CLA

7800

 

 

HLT

7001

CLE

7400

 

 

INP

F800

CMA

7200

 

 

OUT

F400

CME

7100

 

 

SKI

F200

CIR

7080

 

 

SKO

F100

CIL

7040

 

 

ION

F080

INC

7020

 

 

IOF

F040


Table 1

Time

PC

AR

IR

DR

AC

OUTR

D

E

I

IEN

FGO

Phase

00

100

000

000

0000

0000

00

0

0

0

0

1

Loader

01

 

 

 

 

 

 

 

 

 

 

 

 

02

 

 

 

 

 

 

 

 

 

 

 

 

03

 

 

 

 

 

 

 

 

 

 

 

 

04

 

 

 

 

 

 

 

 

 

 

 

 

05

 

 

 

 

 

 

 

 

 

 

 

 

06

 

 

 

 

 

 

 

 

 

 

 

 

07

 

 

 

 

 

 

 

 

 

 

 

 

08

 

 

 

 

 

 

 

 

 

 

 

 

09

 

 

 

 

 

 

 

 

 

 

 

 

10

 

 

 

 

 

 

 

 

 

 

 

 

11

 

 

 

 

 

 

 

 

 

 

 

 

12

 

 

 

 

 

 

 

 

 

 

 

 

13

 

 

 

 

 

 

 

 

 

 

 

 

14

 

 

 

 

 

 

 

 

 

 

 

 

15

 

 

 

 

 

 

 

 

 

 

 

 

16

 

 

 

 

 

 

 

 

 

 

 

 

17

 

 

 

 

 

 

 

 

 

 

 

 

18

 

 

 

 

 

 

 

 

 

 

 

 

19

 

 

 

 

 

 

 

 

 

 

 

 

20

 

 

 

 

 

 

 

 

 

 

 

 

21

 

 

 

 

 

 

 

 

 

 

 

 

22

 

 

 

 

 

 

 

 

 

 

 

 

23

 

 

 

 

 

 

 

 

 

 

 

 

24

 

 

 

 

 

 

 

 

 

 

 

 

25

 

 

 

 

 

 

 

 

 

 

 

 

26

 

 

 

 

 

 

 

 

 

 

 

 

27

 

 

 

 

 

 

 

 

 

 

 

 

28

 

 

 

 

 

 

 

 

 

 

 

 

29

 

 

 

 

 

 

 

 

 

 

 

 

30

 

 

 

 

 

 

 

 

 

 

 

 

31

 

 

 

 

 

 

 

 

 

 

 

 

32

 

 

 

 

 

 

 

 

 

 

 

 

33

 

 

 

 

 

 

 

 

 

 

 

 

34

 

 

 

 

 

 

 

 

 

 

 

 

35

 

 

 

 

 

 

 

 

 

 

 

 

36

 

 

 

 

 

 

 

 

 

 

 

 

37

 

 

 

 

 

 

 

 

 

 

 

 

38

 

 

 

 

 

 

 

 

 

 

 

 

39