about summary refs log tree commit diff stats
path: root/example/asm_x86.py
diff options
context:
space:
mode:
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 fc165da4..3e0ab1bb 100644
--- a/example/asm_x86.py
+++ b/example/asm_x86.py
@@ -30,6 +30,14 @@ main:
   CALL toto
 toto:
   POP  EDI
+
+  PUSH 0
+  FLD1
+  FLD1
+  FADD ST, ST(1)
+  FIST  DWORD PTR [ESP]
+  POP  EAX
+
   MOV  ESP, EBP
   POP  EBP
   RET