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

Please add pseudo instructions to the ref card #1

Open
chaoyangnz opened this issue Apr 3, 2020 · 6 comments
Open

Please add pseudo instructions to the ref card #1

chaoyangnz opened this issue Apr 3, 2020 · 6 comments

Comments

@chaoyangnz
Copy link

Thanks for your great work. This RISC-V assembly guide is invaluable for the beginners. Just a request to add the pseudo instructions for reference.

@johnwinans
Copy link
Owner

Thank you for the kind words. I will increase the priority on adding them on my TODO list.
What do you have in mind:

  • A table in the reference card section?
  • A narrative somewhere?

@chaoyangnz
Copy link
Author

A table appended at reference card with some brief description should be helpful.

Another thing not relevant to pseudo instructions is the instructions encoding (assembly) process. Currently the instructions decoding mapping diagrams are very clear. If we have the another diagram to visualize the encoding, that is better.
For example, LUI t1, 0x123456, how the assembler extract 0x123456 (it’s more than 20 bits) to imm[12:31] is not too clear. The same thing: ADDI t1, x0, 0x12345

@johnwinans
Copy link
Owner

johnwinans commented Apr 3, 2020 via email

@chaoyangnz
Copy link
Author

chaoyangnz commented Apr 3, 2020 via email

@johnwinans
Copy link
Owner

johnwinans commented Apr 3, 2020 via email

@chaoyangnz
Copy link
Author

chaoyangnz commented Apr 3, 2020 via email

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

2 participants