Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support of __[bic|bis]_SR_register_on_exit #85

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

chbessonova
Copy link
Contributor

Resolves #59

unsigned short __bic_SR_register_on_exit(unsigned short mask)
unsigned short __bis_SR_register_on_exit(unsigned short mask)

__bic_SR_register_on_exit clears and __bis_SR_register_on_exit sets
the bits of saved copy of the status register, specified in the mask.
The builtins are only available within interrupt handlers,
an error is reported in other cases.

Accepts: any unsigned short integer which specifies bits of
the saved status register that need to be changed.
Returns: the saved copy of the status register before the update.
Add MSP430 specific intrinsics in order to support
__bic_SR_register_on_exit and __bis_SR_register_on_exit builtins.
@chbessonova chbessonova requested a review from asl February 5, 2019 15:54
@pftbest
Copy link
Contributor

pftbest commented Jan 9, 2020

Hello. Is this ever going to be merged? Does it have some unresolved issues?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support of __bic_SR_register_on_exit and __bis_SR_register_on_exit builtins
2 participants