developer-delphi-assembly-x86-fundamentals

Reference x86/x64 Delphi assembly fundamentals for inline asm.

Updated Jan 6, 2026
One-click install
npx skills add https://github.com/cslsoftwares/ParamentersORM --skill developer-delphi-assembly-x86-fundamentals
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: developer-delphi-assembly-x86-fundamentals
Source: https://github.com/cslsoftwares/ParamentersORM/tree/main/.cursor/skills/developer-delphi-assembly-x86-fundamentals_V1.0.0
Command: npx skills add https://github.com/cslsoftwares/ParamentersORM --skill developer-delphi-assembly-x86-fundamentals

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill provides a comprehensive reference for x86/x64 Delphi assembly fundamentals, helping developers quickly access core concepts and correct usage to write efficient inline assembly.

Core Features & Use Cases

  • Coverage of operation modes (Real, Protected, Long) and memory models relevant to Delphi 32-bit and 64-bit development.
  • Notation guidance for Intel vs AT&T syntax, NASM-style examples, and ABI considerations for Windows x64.
  • Use cases include writing inline asm blocks in Delphi, analyzing memory layouts, and porting assembly routines between 32-bit and 64-bit environments.

Quick Start

Read the Modos de operação x86 and Notação Intel vs AT&T sections to begin applying inline assembly in Delphi.

Frequently Asked Questions about developer-delphi-assembly-x86-fundamentals

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I write inline assembly in Delphi for both 32-bit and 64-bit environments?

Writing inline assembly in Delphi requires understanding x86/x64 operation modes, memory models, and operand sizes. This reference provides notation guidance and code examples to correctly implement inline asm blocks across 32-bit and 64-bit Delphi builds.

What is the difference between Intel and AT&T syntax when using NASM-style examples in Delphi?

Intel and AT&T syntax differ in operand ordering and notation conventions. This skill explains these distinctions alongside NASM conventions, helping Delphi developers translate and apply assembly routines accurately within their inline code blocks.

Does Delphi x64 inline assembly support the Windows x64 ABI for parameter passing?

Delphi x64 inline assembly must align with the Windows x64 ABI for proper function calls and memory access. This reference details ABI considerations, ensuring your inline asm routines correctly handle registers and memory layouts in 64-bit Windows environments.

What's the best way to port 32-bit Delphi inline assembly routines to a 64-bit environment?

Porting 32-bit Delphi inline assembly to 64-bit involves adapting to Long mode operation, updated memory models, and x64 ABI rules. This resource provides the necessary notation references and examples to migrate your assembly routines effectively.

When do I need to consider Real and Protected modes for Delphi x86 assembly?

Real and Protected modes define fundamental x86 processor operation states and memory management behaviors. Delphi developers writing inline assembly need this context to analyze memory layouts correctly and ensure low-level code interacts properly with the system architecture.