about summary refs log tree commit diff stats
path: root/miasm2/arch/x86/sem.py
diff options
context:
space:
mode:
Diffstat (limited to 'miasm2/arch/x86/sem.py')
-rw-r--r--miasm2/arch/x86/sem.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/miasm2/arch/x86/sem.py b/miasm2/arch/x86/sem.py
index 295d05c2..5bf4a7a1 100644
--- a/miasm2/arch/x86/sem.py
+++ b/miasm2/arch/x86/sem.py
@@ -563,7 +563,7 @@ def sar(ir, instr, a, b):
 
 
 def shr(ir, instr, a, b):
-    return _shift_tpl(">>", ir, instr, a, b)
+    return _shift_tpl(">>", ir, instr, a, b, custom_of=a.msb())
 
 
 def shrd_cl(ir, instr, a, b):