CodeusTech / CodeusTech/Xita

Develop dealloc, realloc in XCSL

Open
#26 1 comment 0 reactions 0 assignees View on GitHub
duplicate planning
Dominant language
C++
Stars
5
Forks
0
PR merge metrics
No merged PRs in 30d

Description

**NOTE:** These functions are the easy ones to build.

`_xcs_dealloc()` and `_xcs_realloc()` should error check the given values as arguments.

They add commands to the compiled assembly file which store expected arguments in corresponding OS parameter registers. (e.g. x1 - x4)

Afterwards, they call assembly functions like so:
```assembly
bl __xcs_alloc ; Allocate
bl __xcs_dealloc ; Deallocate
bl __xcs_realloc ; Reallocate
```

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.