What problem does it solve? Writing assembly for the many Z80-family CPUs (8080, 8085, z80, z80n, z180, gbz80, and more) requires knowing exactly which instructions each assembler mode accepts, how synthetic opcodes expand, and how PHASE/DEPHASE affects label addresses. This Skill provides the operational knowledge to drive the z88dk-z80asm assembler, linker, and librarian correctly when building libsrc code or producing .lib products. ## Core Features & Use Cases - Assembler and linker guidance: Covers CPU selection flags (-m8085, -mz80, -mz80n), library creation with -x, listings with -l, and incremental rebuilds with -d. - PHASE/DEPHASE semantics: Explains how bytes are stored at the section PC while labels resolve to a run address, and why phased code must be copied before execution. - CPU capability fixtures: Documents how to query src/z80asm/dev/cpu fixture files with rg to verify whether an instruction assembles for a given CPU and what encoding it emits, including strict-mode rules. - Use Case: When porting a library routine to the 8085, use this Skill to confirm that sub hl,bc is a real extended opcode while ld de,hl is only a synthetic expansion forbidden in strict mode. ## Quick Start Ask the assistant to check whether a specific assembly instruction is accepted by z88dk-z80asm for a given -m CPU target and what bytes it emits.