Index: /trunk/src/VBox/Disassembler/DisasmFormatYasm.cpp
===================================================================
--- /trunk/src/VBox/Disassembler/DisasmFormatYasm.cpp	(revision 41665)
+++ /trunk/src/VBox/Disassembler/DisasmFormatYasm.cpp	(revision 41666)
@@ -5,5 +5,5 @@
 
 /*
- * Copyright (C) 2008 Oracle Corporation
+ * Copyright (C) 2008-2012 Oracle Corporation
  *
  * This file is part of VirtualBox Open Source Edition (OSE), as
@@ -1229,5 +1229,5 @@
      */
     uint32_t fPrefixes = 0;
-    for (uint32_t offOpcode = 0; offOpcode < 32; offOpcode++)
+    for (uint32_t offOpcode = 0; offOpcode < RT_ELEMENTS(pCpu->abInstr); offOpcode++)
     {
         uint32_t f;
