-
Notifications
You must be signed in to change notification settings - Fork 25
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
check correctness of byte order, bitfield order #2
Comments
guess this could be done by assembling some very small sample program with binutils-esp32ulp assembler and looking at the resulting machine code. |
BTW, |
byte order fixed (hopefully): 9982807 TODO: bitfield order When using C structs, is the first contained bitfield at MSB position and the last mentioned one closer to LSB (or ending at LSB, if all 32bits are used)? |
Output:
So, at least a gcc on linux amd64 fills in the bitfields into an uint from lsb to msb. |
According to that, |
see TODO in tests/opcodes.py.
The text was updated successfully, but these errors were encountered: