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

Typo in syscalls help #97

Closed
pacalet opened this issue Nov 29, 2024 · 2 comments · Fixed by #108
Closed

Typo in syscalls help #97

pacalet opened this issue Nov 29, 2024 · 2 comments · Fixed by #108
Labels
documentation Improvements or additions to documentation

Comments

@pacalet
Copy link

pacalet commented Nov 29, 2024

The Syscalls tab of Help/RISCV provides an example of use of PrintInt:

    li  a7, 1          # service 1 is print integer
    add a0, t0, zero   # load desired value into argument register a0, using pseudo-op
    ecall

The comment of the add a0, t0, zero instruction is erroneous: this is not a pseudo-op, it is a basic instruction.

@privat privat added the documentation Improvements or additions to documentation label Dec 18, 2024
@privat
Copy link
Collaborator

privat commented Dec 18, 2024

mv a0, t0 is better anyway.

TODO fix src/help/SyscallHelpPrelude.html

@CmD0
Copy link

CmD0 commented Jan 28, 2025

I'll take care of this.

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

Successfully merging a pull request may close this issue.

3 participants