11.07.2015 Views

MSP430 IAR C/C++ Compiler reference guide - Rice University

MSP430 IAR C/C++ Compiler reference guide - Rice University

MSP430 IAR C/C++ Compiler reference guide - Rice University

SHOW MORE
SHOW LESS
  • No tags were found...

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Descriptions of intrinsic functions__get_R4_registerSyntaxDescriptionunsigned short __get_R4_register(void);Returns the value of the R4 register. This intrinsic function is only available when theregister is locked.See also --lock_r4, page 154__get_R5_registerSyntaxDescriptionunsigned short __get_R5_register(void);Returns the value of the R5 register. This intrinsic function is only available when theregister is locked.See also --lock_r5, page 154__get_SP_registerSyntaxDescriptionunsigned short __get_SP_register(void);Returns the value of the stack pointer register SP.__get_SR_registerSyntaxDescriptionunsigned short __get_SR_register(void);Returns the value of the processor status register SR.__get_SR_register_on_exitSyntaxDescriptionunsigned short __get_SR_register_on_exit(void);Returns the value that the processor status register SR will have when the currentinterrupt or monitor function returns.This intrinsic function is only available in interrupt and monitor functions.222<strong>MSP430</strong> <strong>IAR</strong> C/<strong>C++</strong> <strong>Compiler</strong>Reference Guide

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!