bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug binutils/27848] New: z80-unknown-elf-as: Cannot assemble LD r, r' i


From: petemoore at gmx dot net
Subject: [Bug binutils/27848] New: z80-unknown-elf-as: Cannot assemble LD r, r' instructions
Date: Tue, 11 May 2021 10:06:06 +0000

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

[Prev in Thread] Current Thread [Next in Thread]