Open main menu

CDOT Wiki β

Changes

AArch64 Register and Instruction Quick Start

No change in size, 11:37, 20 February 2015
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)
beq b.eq ''label'' // branch to label if equal bne b.ne ''label'' // branch to label if not equal blt b.lt ''label'' // branch to label if less bgt b.gt ''label'' // branch to label if greater
cmp r0,r1 // compare register r0 with register r1
cmp r0,99 // compare the number 99 with register r0