https://sourceware.org/bugzilla/show_bug.cgi?id=26001
Bug ID: 26001 Summary: PDP11 gas confuses register names and symbols Product: binutils Version: 2.35 (HEAD) Status: UNCONFIRMED Severity: normal Priority: P2 Component: gas Assignee: unassigned at sourceware dot org Reporter: casner at acm dot org Target Milestone: --- Attempting to assemble the instruction jsr pc,sprintf results in error message "Too many operands". This occurs because "sp" is interpreted as a register name and so "rintf" is considered excess. Not to mention that "jsr pc,sp" is not a valid instruction anyway. But the failure would also occur with "mov r0,space" where "mov r0,sp" would be valid. It's hard to believe that this bug was present since the PDP11 code was added in 2001, but perhaps the C compiler always prefixes symbols with . or _ so this bug would not have been exposed. -- You are receiving this mail because: You are on the CC list for the bug.