mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-07-28 04:13:28 +08:00
* compile.c (decode): Distinguish inc/dec.[wl] and adds/subs
correctly.
This commit is contained in:
@ -1,3 +1,8 @@
|
|||||||
|
2000-06-15 Kazu Hirata <kazu@hxi.com>
|
||||||
|
|
||||||
|
* compile.c (decode): Distinguish inc/dec.[wl] and adds/subs
|
||||||
|
correctly.
|
||||||
|
|
||||||
2000-06-20 Frank Ch. Eigler <fche@redhat.com>
|
2000-06-20 Frank Ch. Eigler <fche@redhat.com>
|
||||||
|
|
||||||
* compile.c: Don't include "wait.h".
|
* compile.c: Don't include "wait.h".
|
||||||
|
@ -219,7 +219,10 @@ decode (addr, data, dst)
|
|||||||
|
|
||||||
if (looking_for & DBIT)
|
if (looking_for & DBIT)
|
||||||
{
|
{
|
||||||
if ((looking_for & 5) != (thisnib & 5))
|
/* Exclude adds/subs by looking at bit 0 and 2, and
|
||||||
|
make sure the operand size, either w or l,
|
||||||
|
matches by looking at bit 1. */
|
||||||
|
if ((looking_for & 7) != (thisnib & 7))
|
||||||
goto fail;
|
goto fail;
|
||||||
|
|
||||||
abs = (thisnib & 0x8) ? 2 : 1;
|
abs = (thisnib & 0x8) ? 2 : 1;
|
||||||
@ -292,6 +295,8 @@ decode (addr, data, dst)
|
|||||||
case 0:
|
case 0:
|
||||||
abs = 1;
|
abs = 1;
|
||||||
break;
|
break;
|
||||||
|
default:
|
||||||
|
goto fail;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else if (looking_for & L_8)
|
else if (looking_for & L_8)
|
||||||
|
Reference in New Issue
Block a user