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

Number View is defaulted to unsigned instead of signed #34

Open
ucrdrk opened this issue May 19, 2022 · 0 comments · May be fixed by #35
Open

Number View is defaulted to unsigned instead of signed #34

ucrdrk opened this issue May 19, 2022 · 0 comments · May be fixed by #35

Comments

@ucrdrk
Copy link

ucrdrk commented May 19, 2022

Being that the only data type supported by LC3 is a 16-bit twos complement signed integer, it would make sense that the default setting for Number View is signed, rather than unsigned as it is now.

I use this application for the Computer Organization course I teach and I warn students to make this change in the settings, but I have many students who forget and are confused when their code is not showing negative numbers.

The fix is should be quite simple. In src/gui/src/renderer/App.vue change settings.number to signed on line 161 would fix this situation.

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

Successfully merging a pull request may close this issue.

1 participant