instruction_length(): extended
authorshort <>
Mon, 3 Feb 2003 23:05:50 +0000 (23:05 +0000)
committershort <>
Mon, 3 Feb 2003 23:05:50 +0000 (23:05 +0000)
src/libcaptive/ldr/loader.c

index 3d6bb0f..928b3d1 100644 (file)
@@ -384,6 +384,8 @@ static gsize instruction_length(const guint8 *instr)
                        switch (instr[1]) {
                                case 0x0D:      /* mov immediate-quad-indirect,%ecx */
                                        return 1+1+4;
+                               case 0x15:      /* mov immediate-quad-indirect,%edx */
+                                       return 1+1+4;
                                case 0x44:      /* mov #offset(%reg,%reg,#mult),%reg */
                                case 0x4C:      /* mov #offset(%reg,#mult),%reg */
                                case 0x54:      /* mov #offset(%reg,#mult),%reg */