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

Add function to set interrupt handler which save/restore alternate registers #75

Open
Arnaud6128 opened this issue May 19, 2018 · 2 comments
Assignees
Milestone

Comments

@Arnaud6128
Copy link
Collaborator

Arnaud6128 commented May 19, 2018

Create another function identical to cpct_setInterruptHandler which also save/restore alternate registers.

In this way interruption handler can be used in same time with assembly functions that use alternate registers.

@lronaldo
Copy link
Owner

In fact, registers to be saved should be configurable. Some users may prefer a function that does not save any register.

It will be interesting to consider this.

@lronaldo lronaldo self-assigned this May 19, 2018
@lronaldo lronaldo added this to the 1.5 milestone May 19, 2018
@nestornillo
Copy link
Collaborator

I've converted cpct_setInterruptHandler into a configurable macro, which creates a custom version of the function that saves selected registers, opened PR #143

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

No branches or pull requests

3 participants