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

Open
pacalet opened this issue Nov 29, 2024 · 1 comment
Open

Typo in syscalls help #97

pacalet opened this issue Nov 29, 2024 · 1 comment
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

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

No branches or pull requests

2 participants