about summary refs log tree commit diff stats
path: root/example/asm_x86.py
diff options
context:
space:
mode:
authorFabrice Desclaux <fabrice.desclaux@cea.fr>2014-09-05 16:09:55 +0200
committerFabrice Desclaux <fabrice.desclaux@cea.fr>2014-09-05 16:09:55 +0200
commit75399c706160678a724d2c6f9d288f62b29f494d (patch)
tree292f22b07d06497e203428afcd886631a84070bd /example/asm_x86.py
parentc3463980ca9a3ac261cc52f9191a86811159d3c7 (diff)
downloadmiasm-75399c706160678a724d2c6f9d288f62b29f494d.tar.gz
miasm-75399c706160678a724d2c6f9d288f62b29f494d.zip
x86 sem: fix sar/shr multiple irdst
Diffstat (limited to 'example/asm_x86.py')
-rw-r--r--example/asm_x86.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/example/asm_x86.py b/example/asm_x86.py
index 92d5029a..b9f2cc5b 100644
--- a/example/asm_x86.py
+++ b/example/asm_x86.py
@@ -60,6 +60,14 @@ mystr:
    NOP
    NOP
    CMOVZ EAX, EBX
+   ; test shr
+   NOP
+   SHR EAX, 1
+   NOP
+   NOP
+   SHR EAX, CL
+   NOP
+
    MOV  ESP, EBP
    POP  EBP
    RET