Urgent help needed with CPU32 debugging

Status
Not open for further replies.

arisu1love

Newbie level 5
Joined
Nov 15, 2010
Messages
8
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,343
View attachment source codes.7z

Hi everyone, I urgently need help for my lab assignment for CPU32 debugging. There are 5 bugs which is existent in the source codes which I have attached. The problem is, I totally do not know how to begin to debug them! This thing is really new and the assignment was just given and I am totally helpless.

Could anyone kindly help in debugging the source codes?

The 5 bugs are:
1. CCR values are lost
2. Subroutines don't return
3. Skipped instruction following false branch instructions
4. Jump instructions fail to jump
5. Operand 2 mux on ALU is incorrect for some instructions

I have trouble understanding and locating the bugs...

Thank you very much! If anyone could help me with this, it would be a lifesaver, really.
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…