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 PUTSP trap #45

Merged
merged 3 commits into from
Sep 29, 2024
Merged

Implement PUTSP trap #45

merged 3 commits into from
Sep 29, 2024

Conversation

dxrcy
Copy link
Contributor

@dxrcy dxrcy commented Sep 28, 2024

I think using for addr in *self.reg(0).. would be nicer, so I can change that if desired.

Also, not sure why PUTS was allocating the string to be printed, so I removed that too.

Copy link
Owner

@rozukke rozukke left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for the addition, just some nitpicks to fix up and should be okay 👍

src/runtime.rs Outdated Show resolved Hide resolved
src/runtime.rs Outdated Show resolved Hide resolved
@rozukke rozukke added the feature Adds a new feature label Sep 28, 2024
@rozukke
Copy link
Owner

rozukke commented Sep 28, 2024

Don't mind whether its deduplicated with this current format or with your for loop suggestion 👍

Copy link
Owner

@rozukke rozukke left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cheers

@rozukke rozukke merged commit 1d1809d into rozukke:main Sep 29, 2024
3 checks passed
@dxrcy dxrcy deleted the impl-putsp branch September 29, 2024 12:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature Adds a new feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants