second part of computer architecture

This is the second part of my project (peir). This part use the first
part of my project. I just write the code as told by the pdf file