[Bug gas/10342] New: Wrong instruction-byte association on Z80 port

View: New views
2 Messages — Rating Filter:   Alert me  

[Bug gas/10342] New: Wrong instruction-byte association on Z80 port

by Bugzilla from sourceware-bugzilla@sourceware.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

When I assembly a code with the Z80 instruction:

ld a, (bc)

it generates the byte 0x1A, instead of 0x0A.

0x1A is the byte for the instruction
ld a, (de)

By assembling this instruction, it generates also (but now correct) 0x1A.

Tested with binutils-2.18 compiled by me and binutils-2.19 provided by Debian.

Sorry my poor english.

--
           Summary: Wrong instruction-byte association on Z80 port
           Product: binutils
           Version: 2.19
            Status: NEW
          Severity: critical
          Priority: P2
         Component: gas
        AssignedTo: unassigned at sources dot redhat dot com
        ReportedBy: rodolforg at gmail dot com
                CC: bug-binutils at gnu dot org
 GCC build triplet: x86_64-linux-gnu
  GCC host triplet: x86_64-linux-gnu
GCC target triplet: z80-unknown-coff


http://sourceware.org/bugzilla/show_bug.cgi?id=10342

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


_______________________________________________
bug-binutils mailing list
bug-binutils@...
http://lists.gnu.org/mailman/listinfo/bug-binutils

[Bug gas/10342] Wrong instruction-byte association on Z80 port

by Bugzilla from sourceware-bugzilla@sourceware.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


------- Additional Comments From chris at zxdesign dot info  2009-07-05 15:48 -------
Fixed in HEAD 2008-09-14
http://sourceware.org/ml/binutils/2008-09/msg00105.html

--
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED


http://sourceware.org/bugzilla/show_bug.cgi?id=10342

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


_______________________________________________
bug-binutils mailing list
bug-binutils@...
http://lists.gnu.org/mailman/listinfo/bug-binutils