# Overview Sleigh Processor Specification files are used by [[Ghidra]]. They define the instruction set architecture (ISA) and other processor-specific details for a given CPU. They're responsible for the following: * **Processor Definitions:** They define the fundamental characteristics of a processor, including its endianness, alignment, memory spaces, and registers. * **Instruction Set Description:** They detail the opcodes, operands, and semantics of each instruction within the processor's instruction set. This allows Ghidra to correctly disassemble and analyze binary code for that architecture. These are written in the [[Sleigh Language]], a specialized language designed for describing processor architectures. Sleigh allows for a detailed and precise representation of how instructions are decoded and executed. # Compilation `*.slaspec` files compile down to `*.sla` files, the binary form used by [[Ghidra]]. This happens on-demand when loading [[Ghidra]]. They can also be compiled using Sleigh. `.slaspec` files often include `.sinc` files, which are also Sleigh source files containing common definitions or instruction patterns that can be reused across different processor specifications. This promotes modularity and organization.