https://sourceware.org/bugzilla/show_bug.cgi?id=30752
Bug ID: 30752 Summary: RFE: Z80: allow relaxed syntax of instructions using register A Product: binutils Version: unspecified Status: UNCONFIRMED Severity: enhancement Priority: P2 Component: gas Assignee: unassigned at sourceware dot org Reporter: hpa at zytor dot com Target Milestone: --- In the official Z80 syntax, register A is supposed to be written out when, and only when, the same instruction takes other operands, like HL: ADD A,L ; Because ADD HL,DE XOR L ; No other XOR In practice, this is needlessly confusing for the programmer; as a result, many (probably most) legacy Z80 assemblers allow: ADD L ... and at least some also allow ... XOR A,L Allowing this relaxed syntax would definitely help porting legacy code. -- You are receiving this mail because: You are on the CC list for the bug.