30.2.3.2. ARMv8 aarch64 ret instruction

ARMv8 AArch64 only:

  • there is no BX in AArch64 since no Thumb to worry about, so it is called just BR

  • the RET instruction was added in addition to BR, with the following differences:

    • provides a hint that this is a function call return

    • has a default argument X30 if none is given. This is where BL puts the return value.