ABI proposal #8

Closed
opened 2023-07-24 13:53:07 -05:00 by Ghost · 0 comments

Proposal for official Holey Bytes C ABI.

Eg. What registers are reserved for what, what is saved by caller, what is saved by callee, integer sizes, etc etc...

Currently we have reserved:

  • r0 is a zero register, by spec unwritable, hard-wired zero
  • r1 as a return address, saved by caller
  • r2 as a stack pointer, saved by callee
  • r3 as a thread-local data base pointer
Proposal for official Holey Bytes C ABI. Eg. What registers are reserved for what, what is saved by caller, what is saved by callee, integer sizes, etc etc... Currently we have reserved: - `r0` is a zero register, by spec unwritable, hard-wired zero - `r1` as a return address, saved by caller - `r2` as a stack pointer, saved by callee - `r3` as a thread-local data base pointer
Ghost added the
S-proposal
help-wanted
bikeshedding
labels 2023-07-24 13:53:07 -05:00
Ghost added this to the Holey Bytes v1.0 milestone 2023-07-24 13:54:37 -05:00
able self-assigned this 2023-07-24 19:14:50 -05:00
able closed this issue 2024-11-18 06:29:25 -06:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: AbleOS/holey-bytes#8
No description provided.