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

Implement Stack Structure and Fix $sp Register in Project I #5

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

Comments

@mehmetakifkoz
Copy link
Owner

Problem:
Project I lacks the stack structure that is essential in MIPS architecture, and the stack pointer register ($sp) is not functioning correctly. These issues prevent accurate simulation of the stack-related operations.

Action Needed:
To rectify this, it's important to integrate the necessary stack structure and ensure the proper functionality of the $sp register.

Steps to Resolve:

  1. Introduce the stack structure within the simulation, adhering to the MIPS architecture's stack guidelines.
  2. Update the initial value of the stack pointer ($sp) to 0x7fffeffc in the background registers, ensuring it points to the reserved stack memory.

By making these adjustments, the project will be able to precisely emulate stack-related actions, improving the overall accuracy of the MIPS architecture representation.

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