https://sourceware.org/bugzilla/show_bug.cgi?id=27848

            Bug ID: 27848
           Summary: z80-unknown-elf-as: Cannot assemble LD r, r'
                    instructions
           Product: binutils
           Version: 2.36.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: binutils
          Assignee: unassigned at sourceware dot org
          Reporter: petemoore at gmx dot net
                CC: sergey.belyashov at gmail dot com
  Target Milestone: ---
            Target: z80-unknown-elf

The Z80 CPU User Manual http://www.zilog.com/docs/z80/um0080.pdf describes
instructions `LD r, r'` on page 71 (original page numbering; actually page 85
of PDF).

However, the z80-unknown-elf build of gas cannot assemble these instructions:

```
$ cat test.asm 
ld a, a'
ld b, b'
ld c, c'
ld d, d'
ld e, e'
ld h, h'
ld l, l'
$ z80-unknown-elf-as -o test.o test.asm
test.asm: Assembler messages:
test.asm: Warning: end of file in string; ''' inserted
test.asm: Error: -- unterminated string
test.asm: Error: -- unterminated string
test.asm: Error: -- unterminated string
test.asm: Error: -- unterminated string
test.asm: Error: -- unterminated string
test.asm: Error: -- unterminated string
test.asm:1: Error: junk at end of line, first unrecognized character is `1'
$ 
```

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Reply via email to