diff options
author | exegete <nikitf-97@mail.ru> | 2020-10-16 16:25:06 +0300 |
---|---|---|
committer | exegete <nikitf-97@mail.ru> | 2020-10-16 16:25:06 +0300 |
commit | b92ef5212daad3f318aa26fdaf69fdeb7e66e8a4 (patch) | |
tree | 23d6c739c932c986f3c891f2f76ca8afc7a2d181 /ia32/stack.sts | |
parent | 68ea390db8e5977dcc84dc93daeb467ee243cb35 (diff) | |
download | cryptrobber-b92ef5212daad3f318aa26fdaf69fdeb7e66e8a4.tar cryptrobber-b92ef5212daad3f318aa26fdaf69fdeb7e66e8a4.tar.xz cryptrobber-b92ef5212daad3f318aa26fdaf69fdeb7e66e8a4.zip |
set, get, syscall, makefile
Diffstat (limited to 'ia32/stack.sts')
-rw-r--r-- | ia32/stack.sts | 28 |
1 files changed, 20 insertions, 8 deletions
diff --git a/ia32/stack.sts b/ia32/stack.sts index 56f4f07..cf1bd21 100644 --- a/ia32/stack.sts +++ b/ia32/stack.sts @@ -1,18 +1,30 @@ -defasm drop - # 58 ?' ; pop eax +defasm get + # 58 ?' ; pop eax + # 8b ?' # 4 ?' # 84 ?' ; mov eax, [esp + 4 * eax] + # 50 ?' ; push eax +next + +defasm set + # 5b ?' ; pop ebx + # 58 ?' ; pop eax + # 89 ?' # 04 ?' # 9c ?' ; mov [esp + 4 * ebx], eax next +defasm drop + # 58 ?' ; pop eax +next + defasm dup - # ff ?' # 34 ?' # 24 ?' ; push dword [esp] + # ff ?' # 34 ?' # 24 ?' ; push dword [esp] next defasm over - # ff ?' # 74 ?' # 24 ?' # 4 ?' ; push dword [esp + 4] + # ff ?' # 74 ?' # 24 ?' # 4 ?' ; push dword [esp + 4] next defasm swap - # 58 ?' ; pop eax - # 5b ?' ; pop ebx - # 50 ?' ; push eax - # 53 ?' ; push ebx + # 58 ?' ; pop eax + # 5b ?' ; pop ebx + # 50 ?' ; push eax + # 53 ?' ; push ebx next |