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
Convert HEX values to BIN - Inconsistency in the format of numbers #35
Comments
I'll take this issue |
I think in many cases hexadecimal is clearer than binary and vice versa. (ie: working with addresses in hex and working with bits/bitwise ops/masks in binary |
I think like you. But, to make all the code more readable, I would use hex in the parts as in these screenshots and bin in all other cases (also addresses). Let's see what others say 👍 |
Nope. In the case of ALU instructions are expressed in hexadecimal in the documentation. The main work would be to translate the masks and of the (main) instructions. So mainly where bit manipulation and control is required. |
I think this issue could be closed (with #41) |
Many values are written in hexadecimal format (like
0x0B_00_00_00
), and a few others in binary format (like0b1110_1010_0000_0000_0000_0000_0111_1111
). It would be useful to standardize all values in binary, for readability reasons.However, I think it is better to close #33 first because it would allow the removal of many values.
The text was updated successfully, but these errors were encountered: