]> Git Repo - qemu.git/blobdiff - i386-dis.c
tap: invoke downscript when we exit abnormally
[qemu.git] / i386-dis.c
index 87c8b9dffc73768da49f69c48a919c34d10ed824..ec079a9084965a7fd7e1acb84bfd57f8bc31575a 100644 (file)
@@ -16,8 +16,7 @@
    GNU General Public License for more details.
 
    You should have received a copy of the GNU General Public License
-   along with this program; if not, write to the Free Software
-   Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA.  */
+   along with this program; if not, see <http://www.gnu.org/licenses/>. */
 
 /* 80386 instruction printer by Pace Willisson ([email protected])
    July 1988
@@ -54,8 +53,7 @@
    GNU General Public License for more details.
 
    You should have received a copy of the GNU General Public License
-   along with this program; if not, write to the Free Software
-   Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA.  */
+   along with this program; if not, see <http://www.gnu.org/licenses/>.  */
 
 /* The SystemV/386 SVR3.2 assembler, and probably all AT&T derived
    ix86 Unix assemblers, generate floating point instructions with
@@ -5522,7 +5520,6 @@ static void
 OP_sI (int bytemode, int sizeflag)
 {
   bfd_signed_vma op;
-  bfd_signed_vma mask = -1;
 
   switch (bytemode)
     {
@@ -5531,7 +5528,6 @@ OP_sI (int bytemode, int sizeflag)
       op = *codep++;
       if ((op & 0x80) != 0)
        op -= 0x100;
-      mask = 0xffffffff;
       break;
     case v_mode:
       USED_REX (REX_W);
@@ -5540,11 +5536,9 @@ OP_sI (int bytemode, int sizeflag)
       else if (sizeflag & DFLAG)
        {
          op = get32s ();
-         mask = 0xffffffff;
        }
       else
        {
-         mask = 0xffffffff;
          op = get16 ();
          if ((op & 0x8000) != 0)
            op -= 0x10000;
@@ -5553,7 +5547,6 @@ OP_sI (int bytemode, int sizeflag)
       break;
     case w_mode:
       op = get16 ();
-      mask = 0xffffffff;
       if ((op & 0x8000) != 0)
        op -= 0x10000;
       break;
This page took 0.031797 seconds and 4 git commands to generate.