Index: trunk/tools/dump2hex.php
===================================================================
--- trunk/tools/dump2hex.php	(revision 30)
+++ trunk/tools/dump2hex.php	(revision 36)
@@ -31,8 +31,8 @@
   while (!feof($fp)) {
     $line = fgets($fp);
-    $opcode1 = substr($line, 6, 2);
-    $opcode2 = substr($line, 9, 2);
-    $opcode3 = substr($line, 12, 2);
-    $opcode4 = substr($line, 15, 2);
+    $opcode1 = substr($line, 14, 2);
+    $opcode2 = substr($line, 17, 2);
+    $opcode3 = substr($line, 20, 2);
+    $opcode4 = substr($line, 23, 2);
     $caratteri = strlen($opcode1);
     if($caratteri != 0){
@@ -44,5 +44,7 @@
     }
     else{
-        for($i=0; $i<1; $i++) fgets($fp);
+        echo "//".$line;
+        $line = fgets($fp);
+        echo "//".$line;
      } 
     }
