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

Feature: Add endian swap layout #65

Open
justinvson-pd opened this issue Dec 22, 2023 · 0 comments
Open

Feature: Add endian swap layout #65

justinvson-pd opened this issue Dec 22, 2023 · 0 comments

Comments

@justinvson-pd
Copy link

Currently the file is always arranged in one way: big endian.

Make a feature so that the layout swaps the two bytes so that it can be viewed in little endian as well.

Example use case: Intel i225/i226 Ethernet controller datasheets use Word address registers instead of byte address, and with a big endian view the bytes are always swapped with the register definition. xxd for instance can do this by adding the -e little-endian command line parameter.

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

1 participant