

Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Material Type: Assignment; Professor: Franklin; Class: COMPTR ORGANIZATN; Subject: Electrical & Computer Engineering; University: University of Maryland; Term: Fall 2006;
Typology: Assignments
1 / 2
This page cannot be seen from the preview
Don't miss anything!


sw rt, offset(rs) ; copy the value in register rt to memory location whose address is ; present in memory location {sign extended offset + contents of register rs}
Its encoding is given below.
Pattern for SW rs rt offset
Write a sequence of MAL instructions to interpret the above sw instruction using the given data path. Write comments for each MAL instruction, indicating what it does.
(RF)
File
Register
AOR
AIR
ALU
offset
Main Memory
IR
+/- PC MAR
MDR
ADD AND
ID
CPU
Internal Bus
4
Address Bus
Data Bus SEXT