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

Apparently you can mov r0, r1 in thumb without setting status #21

Open
velipso opened this issue Sep 28, 2022 · 0 comments
Open

Apparently you can mov r0, r1 in thumb without setting status #21

velipso opened this issue Sep 28, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@velipso
Copy link
Owner

velipso commented Sep 28, 2022

Word on discord is you can perform a mov in thumb on low registers without setting status. They claim it's undocumented.

I should verify this on real hardware and, assuming it's true, implement it in gvasm somehow.

Gericom: The mov opcode for hi registers (which doesn't update flags) works just fine for low registers on arm7tdmi, but since that's not officially defined behavior it won't be used in the compiler

should use cpy mnemonic

@velipso velipso added the enhancement New feature or request label Nov 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant