Open main menu

CDOT Wiki β

Changes

AArch64 Register and Instruction Quick Start

80 bytes removed, 23:25, 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 (with 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- this is a goto
br ''register'' // branch to the address in register
b.eq ''label'' // branch to label if equal