Texas Instruments MSP430x4xx User Manual

Page 90

Advertising
background image

Instruction Set

3-56

RISC 16−Bit CPU

* RET

Return from subroutine

Syntax

RET

Operation

@SP

PC

SP + 2

SP

Emulation

MOV

@SP+,PC

Description

The return address pushed onto the stack by a CALL instruction is moved to
the program counter. The program continues at the code address following the
subroutine call.

Status Bits

Status bits are not affected.

Advertising