CodeusTech / CodeusTech/Xita

Prevent Overwrite on Param. Load

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

Description

**NOTE:**
* This issue continues [XCSL Issue #2](https://github.com/CodeusTech/XCSL-AArch64/issues/2)
* and requires resolution of [XCSL Issue #33](https://github.com/CodeusTech/XCSL-AArch64/issues/33)

When arguments are loaded from calling function's register stack into callee's parameter registers, there needs to be a check that ensures the calling function's active registers' data is not overwritten.

Instead, it should call the data stack's PUSH operation and then POP after conclusion. Alternatively, it can store data temporarily in another CPU register, if there are available registers remaining in the register stack.

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.