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

Add nucleotide-count practice exercise #161

Closed
keiravillekode opened this issue Oct 8, 2023 · 1 comment
Closed

Add nucleotide-count practice exercise #161

keiravillekode opened this issue Oct 8, 2023 · 1 comment

Comments

@keiravillekode
Copy link
Contributor

keiravillekode commented Oct 8, 2023

This issue is to add a port to MIPS Assembly of the practice exercise nucleotide-count.

Note that in MIPS, function results are placed in up to 2 registers: $v0 $v1.

Therefore we shouldn't attempt to use 4 registers for the 4 counts.

Using 16 bits for each count, we could pack the 4 counts into 2 registers.

Alternately, we could pass in a pointer to a 4 word destination array.

@github-actions
Copy link

github-actions bot commented Oct 8, 2023

Hello. Thanks for opening an issue on Exercism. We are currently in a phase of our journey where we have paused community contributions to allow us to take a breather and redesign our community model. You can learn more in this blog post. As such, all issues and PRs in this repository are being automatically closed.

That doesn't mean we're not interested in your ideas, or that if you're stuck on something we don't want to help. The best place to discuss things is with our community on the Exercism Community Forum. You can use this link to copy this into a new topic there.


Note: If this issue has been pre-approved, please link back to this issue on the forum thread and a maintainer or staff member will reopen it.

@github-actions github-actions bot closed this as completed Oct 8, 2023
keiravillekode added a commit to keiravillekode/mips that referenced this issue Oct 10, 2023
keiravillekode added a commit to keiravillekode/mips that referenced this issue Oct 10, 2023
ErikSchierboom pushed a commit that referenced this issue Oct 13, 2023
* feat: Add Nucleotide Count (resolves #161)

* Nucleotide Count: output counts as list
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