Stack Exchange network consists of 183 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
If I want after running the CBZ W0, loc_C5C8 command
Run to the ADRP X8,#selRef_curent_version@PAGE command
regardless of the condition (in picture), what should I do?
CBZ W0, loc_C5C8
CBZ is a compare and branch if zero.
It does not affect flags, which means that the compare part has no effect other than branching or not.
You can simply patch the CBZ into a B instruction.
Required, but never shown