PracticeQuestion and Solution

You might also like

Download as pdf or txt
Download as pdf or txt
You are on page 1of 5

Determine number buscycles, value thefunction the of the of control lines, address the the bus, data bus,R/W,UDS,fDS

andtheAS in each cyclewhileexecuting following bus the instructions.you th.ink of therequested If any information unknolvn to inadequ'ate is due information, writeunknown thetable. in Note:Assume each these of instructions executing location are at $A000whentheSR:$2700, D0=$D0, Dl=$Dl, D2:$D2, D3=$D3, D4=$D4, D5:$D5,D6=$D6, D7:$D7, A0=$A000, I =$AI 00,A2=$A200, A ,{3=$A300, A4=$A400, A5=$A500, 46=$4600, A7=$A700. \ Ignore pre-fetch operation themicroprocessor. of

MOVE.L 57000, $8100


BusCycle # Address
Data

# of Bqs Cycles

R/w

UDS

LDS

FC2

FCI

FCO

2 3
4

5
6 8

LEA +5(A3),A2
B u s C y c l e# Address Data

# of Bus Cycles

R/w

IJDS

tDs

FC2

FCI

FCO

MOVE.L (A1), (A2)


B u s C y c l e# A ddress

# of Bus Cvcles
Data

vw

UDS

LDS

ps

FC2

FCI

FCO

CLR.L SAOOO
B u s C y c l e# Address

# of Bus Cvcles
Data

R/w

UDs

LDS

AS

FC2

FCI

FCO

RoR (A2)+
B u s C y c l e# Address Data

# of Bus Cycles

R/w

UDS

LDS

FS

FC2

FCI

FCO

PEA -15(A2)

# of Bus Cycles
Data

B u s C y c l e#

Address

R/w

UDS

AS

FC2

FCI

FCO

A D D I . L # S 2 ,2 (M,A 0 )
B u s C y c l e# Ad dress Data

# of Bus Cycles
R/W UDS LDS

AS

FC2

FCI

FCO

M O V E . L 5 7 0 0 0S B1 0 0 , 23F8 000 000 l00 7 0 B


B u s C v c l e# Address Data

# of Bus Cycles

8
FCI FCO

vw
I 1 I I I I

ins
0 0 0 0 0 0 0 0

LDS

2
J

5
6 7 8

A000 A002 A004 7000 1002 A006 B1 0 0 B 102

23F8 7000 0000 U

U
B100 U U

0 0

0 0 0 0 0 0 0 0

7S 0 0 0 0 0 0 0 0

FC2

I I 1 I I 1 I I

I 1 I

0 0 0
I I

0 0
I

0
I 1

0 0

LEA +5(A3),L2 45EB 0005


Bus Cycle # Address Data

# of Bus Cycles R/w


I I

2
FCI FCO

iiDs
0 0
i

A000 A002

45EB

000s

t-os 0 0
_ '

AS 0 0

FC2

I I

I I

0 0

MOVE.L (A1), (A2) 2491


B u s C y c l e# Ad dress Data

# of Bus Cycles

5
FCI

vw
I I

UDS

t-ns
0 0 0 0 0-

AS
0 0 0 0 0

FC2

FCO

2 3
4 5

A000 A 100 A 102 4200 A202

2491

U U U
U

I 0 0

0 0 0 0 0

I I I I

0 0 0 0

0 1 I
I 1

CLR.L $AOOO 42B*9 0000A000


B u s C y c l e# Address Data

'#

of Bus Cycles
AS
FC2

7
FCO

2 3
4 5 6 7

A000 A002 A004 A000 A002 A002 A000

42F-9

0000 A000 42F-9 0000 0000 0000

Riw I I I I I

0 0

IDS 0 0 0 0 0 0 0

LDS

FCI

0 0 0 0 0 0 0

0 0 0 0 0 0 0

t
I

I I I

0 0 0
I 1 I I

t
I I I

0 0 0 0

You might also like