developer-delphi-assembly-registers

Document x86/x64 registers and calling conventions for Delphi assembly and NASM.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This reference provides a complete map of x86/x64 registers and conventions for Delphi assembly and NASM, helping developers understand how to write correct and efficient low-level code.

Core Features & Use Cases

  • Comprehensive coverage of general-purpose registers (GPRs), segment registers, RIP and RFLAGS.
  • Detailed SIMD sections for XMM, YMM, and ZMM with practical usage notes for Delphi and NASM.
  • Contextual guidance on calling conventions and parameter passing for Windows x64 and Delphi 64-bit environments.

Quick Start

Open this guide when starting a new inline-assembly task to identify which registers to use for parameters, return values, and SIMD operations.

Frequently Asked Questions about developer-delphi-assembly-registers

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

FAQPage Schema
What are the x64 calling conventions for Delphi inline assembly?

SIMD registers like XMM, YMM, and ZMM are used in NASM for vector operations. This guide documents their bit fields and layouts, providing practical usage notes for writing efficient SIMD assembly code within Delphi applications.

How do I use SIMD registers in NASM for Delphi performance tuning?

SIMD registers like XMM, YMM, and ZMM are used in NASM for vector operations. This guide documents their bit fields and layouts, providing practical usage notes for writing efficient SIMD assembly code within Delphi applications.

Does Delphi x64 assembly support modifying RFLAGS and RIP registers?

Delphi x64 assembly development involves understanding RFLAGS and RIP registers. This reference provides a complete map of these registers, explaining their bit fields and conventional usage to ensure correct low-level code execution.

Best way to map x86 general-purpose registers for Delphi compiler interop?

Mapping x86 general-purpose registers for Delphi compiler interop requires knowing standard register layouts and calling conventions. This guide offers a comprehensive reference for aligning inline assembly with compiler expectations across Windows and Linux.

What are the limitations of using segment registers in 64-bit Delphi assembly?

Using segment registers in 64-bit Delphi assembly carries specific architectural limitations and conventional rules. This reference documents segment register layouts and their contextual usage to prevent errors when writing low-level code.