Skip to content

Why is a 24-bit check used here instead of a 32-bit check? #7

Closed Answered by eh-steve
fumeboy asked this question in Q&A
Discussion options

You must be logged in to vote

Arm64v8 instructions don't use immediate 4 byte values next to the instructions like x86, instead the addresses/offsets are encoded as part of the 32-bit instruction so they generally have a maximum of 24 bits available for Branches (and 33-bits for ADRP+ADD relocs across 2 instructions)

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by eh-steve
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants