Browse code

Revert accidental commit of these files in ec32c565ba43d4a87a218625a1bc1777fdd7bcc2.

Török Edvin authored on 2009/12/16 22:18:26
Showing 2 changed files
... ...
@@ -1545,12 +1545,8 @@ static uint8_t *disasm_x86(uint8_t *command, unsigned int len, struct DISASMED *
1545 1545
 	    GETBYTE(b);
1546 1546
 	    shiftme+=b<<(i*8);
1547 1547
 	  }
1548
-	  if (mod) {
1549
-	      shiftme<<=((8-mod)*8);
1550
-	      s->args[reversed].arg.marg.disp=shiftme>>((8-mod)*8);
1551
-	  } else {
1552
-	      s->args[reversed].arg.marg.disp=0;
1553
-	  }
1548
+	  shiftme<<=((8-mod)*8);
1549
+	  s->args[reversed].arg.marg.disp=shiftme>>((8-mod)*8);
1554 1550
 	} else {
1555 1551
 	  if (mod==0 && rm==6) {
1556 1552
 	    s->args[reversed].arg.marg.r1=REG_INVALID;
... ...
@@ -146,7 +146,7 @@ static uint32_t summit (char *src, int size)
146 146
       eax ^= ebx>>8 & 0xff;
147 147
       eax += 0x7801a108;
148 148
       eax ^= ebx;
149
-      CLI_ROR(eax, ebx&0x1f);
149
+      CLI_ROR(eax, ebx&0xff);
150 150
       swap = eax;
151 151
       eax = ebx;
152 152
       ebx = swap;