aboutsummaryrefslogtreecommitdiff
path: root/ia32/branch.sts
diff options
context:
space:
mode:
authorAleksey Veresov <aleksey@veresov.pro>2020-10-16 12:45:33 +0300
committerAleksey Veresov <aleksey@veresov.pro>2020-10-16 12:45:33 +0300
commit405c4f104975e5456ce6b28ad31fd996d3f4b657 (patch)
tree53a1b855c068c41b73ee0560d5e664d56923d63b /ia32/branch.sts
downloadcryptrobber-405c4f104975e5456ce6b28ad31fd996d3f4b657.tar
cryptrobber-405c4f104975e5456ce6b28ad31fd996d3f4b657.tar.xz
cryptrobber-405c4f104975e5456ce6b28ad31fd996d3f4b657.zip
Initial
Diffstat (limited to 'ia32/branch.sts')
-rw-r--r--ia32/branch.sts19
1 files changed, 19 insertions, 0 deletions
diff --git a/ia32/branch.sts b/ia32/branch.sts
new file mode 100644
index 0000000..bedfbba
--- /dev/null
+++ b/ia32/branch.sts
@@ -0,0 +1,19 @@
+defasm branch
+; mov esi, [esi]
+# 8b ?' # 36 ?'
+; go next
+next
+
+defasm 0branch
+; pop eax
+# 58 ?'
+; add esi, 4
+# 83 ?' # c6 ?' # 4 ?'
+; cmp eax, 0
+# 83 ?' # f8 ?' # 00 ?'
+; jne +3
+# 75 ?' # 3 ?'
+; mov esi, [esi - 4]
+# 8b ?' # 76 ?' # fc ?'
+; go next
+next