Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

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.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top