Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incorrect Jump and Branch Instruction Formats in Project I #1

Open
mehmetakifkoz opened this issue Aug 30, 2023 · 0 comments
Open

Incorrect Jump and Branch Instruction Formats in Project I #1

mehmetakifkoz opened this issue Aug 30, 2023 · 0 comments

Comments

@mehmetakifkoz
Copy link
Owner

Problem:**
In Project I, there are issues with the current formats of jump and branch instructions. The jump instruction lacks the required pseudodirect addressing format, and the branch instruction does not utilize PC relative addressing as expected by the MIPS architecture.

Action Needed:
To ensure accurate simulation and alignment with the MIPS architecture, it's necessary to revise the formats of jump and branch instructions.

Steps to Resolve:

  1. Identify the relevant sections of code responsible for handling jump and branch instructions.
  2. Update the jump instructions to conform to the pseudodirect addressing format.
  3. Modify the branch instructions to utilize PC relative addressing as specified in the MIPS architecture.

This adjustment will enhance the accuracy of the simulation and ensure that the project correctly reflects the MIPS instruction formats.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant