ret

Return from Subroutine

RET {<Xn>}

Branches to address in LR (or specified register).

Details

The Return from Subroutine instruction branches to address in LR (or specified register).

Pseudocode Operation

Xn ← SRC1 - SRC2
// Flags affected: N, Z, C, V

Example

RET

Encoding

Binary Layout
11010110
01011111
000000
Rn
00000
 
Format Branch
Opcode 0xD65F0000
Extension Base

Operands

  • Xn
    Addr (Def: X30)