developer-delphi-assembly-delphi-inline

Community

Inline Delphi asm blocks inside Pascal routines.

Authorcslsoftwares
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Delphi developers often need to embed built-in assembler blocks within Pascal routines to optimize hot paths, access locals, and manipulate object fields, but the syntax, constraints, and platform differences are easy to misuse. This skill documents the proper usage of inline asm blocks (asm..end), the rules for local labels prefixed with @, and the OFFSET/PTR modifiers, while clarifying platform support and the NOSTACKFRAME directive.

Core Features & Use Cases

  • Inline assembler guidance for Win32/Win64 Delphi (and limited LLVM/other compilers as noted).
  • Access to local variables and object fields from within asm blocks.
  • Label naming conventions (local labels must start with @) and platform restrictions.
  • Clear rules for NOSTACKFRAME and the proper contexts for using asm..end versus pure assembler blocks.
  • Real-world scenarios: micro-optimizations in hot paths; low-level field access; CPU-specific instructions.

Quick Start

Begin by inserting an inline asm block with asm .. end inside a Delphi function or procedure to optimize a hot path, ensuring labels use the @ prefix and respecting platform constraints.

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-delphi-inline
Download link: https://github.com/cslsoftwares/ParamentersORM/archive/main.zip#developer-delphi-assembly-delphi-inline

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.