Every premium and members-only resource for $9.99/month, as a no-commitment subscription. See the plans

PalateKit

Menu

Request a resource

Describe the resource you are missing in one sentence. We will email you when it is published.

0 / 280

Unlock PalateKit

Unlock everything

Plan

Paying means accepting our terms of sale.

Secure payment by Stripe. Receipts and invoices sent by email.

Welcome back

Sign in to install, download or save this resource. A free account is enough for free resources.

ABI and calling conventions: System V, AAPCS, FFI v1.0.0

Use this resource to understand calling conventions and the ABI at language boundaries

New

  • 312 downloads
  • 226 likes
  • 112 saves

Free

Install with the CLI

In a terminal, from the folder you want:

npx --yes palatekit@latest install abi-calling-conventions-ffi

With no option, the skill goes to ~/.agents/skills/; add --agent claude-code (or codex, cursor…) to target an agent.

First time: connect the CLI with

npx --yes palatekit@latest login

The agent explains how arguments and return values travel through registers under System V AMD64, AAPCS or the RISC-V psABI, how stack frames are built, and how variadic calls and FFI work.

Mostly picked by

Updated November 2, 2026

Card for the “ABI and calling conventions: System V, AAPCS, FFI” skill

Details

Generates with
Your agent's model
Licence
MIT

Similar resources

View all

What you get

  • SKILL.md: System V AMD64, AAPCS and the RISC-V psABI
  • SKILL.md: stack frames, variadic functions and FFI register rules

Good fit for

  • You call a C library from Rust, Go or Python
  • An FFI call returns wrong values on one platform only

Not for

    Tags

    • abi
    • ffi
    • convention
    • stack

    About

    You say

    “Explain how a floating-point argument is passed in an FFI call under System V and under AAPCS64.”

    Card for the “ABI and calling conventions: System V, AAPCS, FFI” skill

    Skill published by mohitmishra786 under the MIT license, delivered in its original version.

    Show more

    How to use it

    1. Install the skill in your agent's skills folder
    2. Ask your agent to understand calling conventions and the ABI at language boundaries
    3. Review and adjust the result

    Content preview

    Files

    • LICENSE1.1 KB
    • NOTICE-PALATEKIT.md0.5 KB
    • SKILL.md3.4 KB

    Origin and licence

    Listed unmodified

    Author
    mohitmishra786
    Source
    github.com/mohitmishra786/low-level-dev-skills/tree/bdc58472fa9f309ed1b3f7d985a0d8e9bd8f4608/skills/computer-architecture/abi-and-calling-conventions
    Licence
    MIT

    Notice

    « abi-and-calling-conventions » (mohitmishra786, MIT) livré dans sa version d'origine : fiche en français et en anglais par PalateKit.

    User reviews

    –

    No ratings yet

    Loading reviews…

    Delete your review?

    Your rating and comment will be removed from the page.