config/tc-z80.c (emit_ldreg): fix bug in ld rr,<xx>
This commit is contained in:
parent
3609e0feb6
commit
7fbe7b46ab
|
@ -1,3 +1,7 @@
|
||||||
|
2005-12-02 Arnold Metselaar <arnoldm@sourceware.org>
|
||||||
|
|
||||||
|
* config/tc-z80.c (emit_ldreg): fix bug in ld rr,<xx>
|
||||||
|
|
||||||
2005-11-26 Arnold Metselaar <arnoldm@sourceware.org>
|
2005-11-26 Arnold Metselaar <arnoldm@sourceware.org>
|
||||||
|
|
||||||
* config/tc-z80.c (z80_start_line_hook): issue an error when
|
* config/tc-z80.c (z80_start_line_hook): issue an error when
|
||||||
|
|
|
@ -1604,7 +1604,7 @@ emit_ldreg (int dest, expressionS * src)
|
||||||
/* Fall through. */
|
/* Fall through. */
|
||||||
case REG_BC:
|
case REG_BC:
|
||||||
case REG_DE:
|
case REG_DE:
|
||||||
if (src->X_op == O_register || src->X_op != O_md1)
|
if (src->X_op == O_register || src->X_op == O_md1)
|
||||||
ill_op ();
|
ill_op ();
|
||||||
q = frag_more (src->X_md ? 2 : 1);
|
q = frag_more (src->X_md ? 2 : 1);
|
||||||
if (src->X_md)
|
if (src->X_md)
|
||||||
|
|
Loading…
Reference in New Issue