CodeusTech / CodeusTech/Xita

Protect Registers from Overwrite

Open
#2 0 comments 0 reactions 0 assignees View on GitHub
prebug
Dominant language
C++
Stars
5
Forks
0
PR merge metrics
No merged PRs in 30d

Description

Before transitioning into a child functional scope, the parent should ensure the data held in the CPU registers is protected from being overwritten in the Child Scope.

Before making the assembly call:
```bl __SCOPE_FUNCTION```
* Check parent's active registers against child's active registers
* Push conflicting registers in parent scope to data register until call ends

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.