Changes

Jump to: navigation, search

AArch64 Register and Instruction Quick Start

304 bytes added, 23:24, 5 September 2019
Starter Kit
add r0,r1,99 // load r0 with r1+99
adr r0,''label'' // load r0 with the address ''label'' (this actually calculates an address from the [[Register#Program Counter|PC]] plus an offset)
bl ''label'' // branch and link to label - the 'link' part refers to remembering the original code location so you can return to it, therefore this is a procedure / subroutine / function call
br ''label'' // branch to label
br ''register'' // branch to the address in register
b.eq ''label'' // branch to label if equal
b.ne ''label'' // branch to label if not equal

Navigation menu