beautypg.com

Texas Instruments MSP430x1xx User Manual

Page 395

background image

Instruction Set Overview

B-45

Instruction Set Description

* 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.