developer-delphi-assembly-stack-call

Community

Master Delphi assembly stack calling conventions.

Authorcslsoftwares
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Delphi developers and assembly programmers often struggle to understand and implement correct stack frames and calling conventions for x86/x64, leading to crashes and interop issues. This Skill provides a comprehensive, cross‑platform reference that documents prologue/epilogue patterns, parameter passing rules, and alignment requirements across 32-bit and 64-bit Delphi targets, plus practical examples.

Core Features & Use Cases

  • Comprehensive reference of Delphi assembly stack frames, including PUSH/POP, CALL/RET, and shadow space for Windows x64.
  • Cross‑platform guidance covering 32-bit and 64-bit ABIs, register usage, and stack alignment for reliable interop.
  • Practical examples in NASM and Pascal, plus directives like .PARAMS and .PUSHNV to ensure proper unwind info and safe exception handling.
  • Use cases include writing inline assembly routines, interfacing with external libraries, and debugging stack frame issues in complex interop scenarios.

Quick Start

Study the 32-bit and 64-bit sections to understand prologue/epilogue layout and try the included examples to reproduce frame handling.

Dependency Matrix

Required Modules

None required

Components

Standard package

đź’» Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: developer-delphi-assembly-stack-call
Download link: https://github.com/cslsoftwares/ParamentersORM/archive/main.zip#developer-delphi-assembly-stack-call

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.