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

Support for ARMv4 #7

Open
omarandlorraine opened this issue Sep 28, 2022 · 1 comment
Open

Support for ARMv4 #7

omarandlorraine opened this issue Sep 28, 2022 · 1 comment

Comments

@omarandlorraine
Copy link

From what I see, there's armv7::InstDecoder and armv8::InstDecoder already.

I'm interested in developing for the ARM7TDMI which is an ARMv4, so it would be great to have an armv4::InstDecoder in this crate. But I don't know enough about later ARMs to know if armv7::InstDecoder will do the trick for me.

@iximeow
Copy link
Owner

iximeow commented Sep 29, 2022

i haven't exhaustively checked but i'm pretty confident that for each of the execution modes, thumb/aarch32/aarch64, extensions are strictly supersets of whatever they've extended. so armv7::InstDecoder should decode instructions for v4 targets correctly (excepting a bug or two in thumb: #3)

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

2 participants