-
Notifications
You must be signed in to change notification settings - Fork 1
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
Pseudo-Instructions, test cases, and bug fixes #355
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great work! Just a couple potential changes, lemme know if you have any input.
src/bin/main.rs
Outdated
@@ -38,7 +41,8 @@ use yew_hooks::prelude::*; | |||
// To load in the Fibonacci example, uncomment the CONTENT and fib_model lines | |||
// and comment the code, language, and text_model lines. IMPORTANT: | |||
// rename fib_model to text_model to have it work. | |||
const CONTENT: &str = include_str!("../../static/assembly_examples/floating_point.asm"); | |||
const CONTENT: &str = include_str!("../../static/assembly_examples/riscv_test.asm"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you add some sort of toggle to the interface so we can switch between RISC-V and MIPS modes? I don't really care who does it or where but it's something that we should probably have at this point.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I put that there so the frontend would implement the toggle/dropdown as they wished.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In that case, do you mind switching this back to a MIPS example just to make it a little easier to debug the rest of the program in the meantime?
No description provided.