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

SP / R13 lowest bits should always be zero #17

Closed
urish opened this issue May 10, 2021 · 0 comments
Closed

SP / R13 lowest bits should always be zero #17

urish opened this issue May 10, 2021 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@urish
Copy link
Contributor

urish commented May 10, 2021

Quoting section A5.1.3 / Use of 0b1101 as a register specifier from the ARMv6-M Architecture Reference Manual:

R13<1:0> definition
Bits [1:0] of R13 are treated as Should Be Zero or Preserved (SBZP). Writing a non-zero value to bits [1:0] results
in UNPREDICTABLE behavior. Reading bits [1:0] returns zero.

@urish urish added the bug Something isn't working label May 10, 2021
@urish urish self-assigned this May 10, 2021
@urish urish closed this as completed in 8c8603c May 14, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant