about summary refs log tree commit diff stats
path: root/src/libtools/decopcode.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/libtools/decopcode.c')
-rw-r--r--src/libtools/decopcode.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libtools/decopcode.c b/src/libtools/decopcode.c
index 5bc84657..a6694fb5 100644
--- a/src/libtools/decopcode.c
+++ b/src/libtools/decopcode.c
@@ -266,7 +266,7 @@ int decode_opcode(uintptr_t rip, int is32bits)
             return OPCODE_READ|OPCODE_STACK;
         case 0x80 ... 0x83:
             nextop = addr[idx++];
-            return (MODREG)?0:((((nextop>>3)&7!=7)?OPCODE_WRITE:0)|OPCODE_READ);
+            return (MODREG)?0:(((((nextop>>3)&7)!=7)?OPCODE_WRITE:0)|OPCODE_READ);
         case 0x8F:
             nextop = addr[idx++];
             return ((MODREG)?0:(OPCODE_WRITE))|OPCODE_READ|OPCODE_STACK;