aboutsummaryrefslogtreecommitdiff
path: root/ia32/bitwise.sts
diff options
context:
space:
mode:
authorexegete <nikitf-97@mail.ru>2020-10-17 17:52:20 +0300
committerexegete <nikitf-97@mail.ru>2020-10-17 17:52:20 +0300
commit53ccfab6c1f2ddad977ceedbdbbfa54a05b81070 (patch)
treee072ec761ec34569443d0234639a5185bcafa597 /ia32/bitwise.sts
parent65c54a8986b3519c1949d280e58f46af2eceff85 (diff)
downloadcryptrobber-53ccfab6c1f2ddad977ceedbdbbfa54a05b81070.tar
cryptrobber-53ccfab6c1f2ddad977ceedbdbbfa54a05b81070.tar.xz
cryptrobber-53ccfab6c1f2ddad977ceedbdbbfa54a05b81070.zip
stack print and etc
Diffstat (limited to 'ia32/bitwise.sts')
-rw-r--r--ia32/bitwise.sts21
1 files changed, 21 insertions, 0 deletions
diff --git a/ia32/bitwise.sts b/ia32/bitwise.sts
index b86e6c6..205e618 100644
--- a/ia32/bitwise.sts
+++ b/ia32/bitwise.sts
@@ -4,3 +4,24 @@ defasm xor
# 31 ?' # d8 ?' ; xor eax, ebx
# 50 ?' ; push eax
next
+
+defasm and
+ # 5b ?' ; pop ebx
+ # 58 ?' ; pop eax
+ # 21 ?' # d8 ?' ; and eax, ebx
+ # 50 ?' ; push eax
+next
+
+defasm shr
+ # 59 ?' ; pop ecx
+ # 58 ?' ; pop eax
+ # d3 ?' # e8 ?' ; shr eax, cl
+ # 50 ?' ; push eax
+next
+
+defasm shl
+ # 59 ?' ; pop ecx
+ # 58 ?' ; pop eax
+ # d3 ?' # e0 ?' ; shl eax, cl
+ # 50 ?' ; push eax
+next