diff options
author | Andreas Kling <awesomekling@gmail.com> | 2019-02-08 02:38:21 +0100 |
---|---|---|
committer | Andreas Kling <awesomekling@gmail.com> | 2019-02-08 02:38:21 +0100 |
commit | 736e8525259e0f562dc5dda3f7756ea738667b74 (patch) | |
tree | e3465c379fd8192672d8346063810c6d1d4311fc /LibC/setjmp.asm | |
parent | 5158bee08cab9b6484ed5d455f1b6b7023e65ecd (diff) | |
download | serenity-736e8525259e0f562dc5dda3f7756ea738667b74.zip |
LibC: Implement enough missing stuff to get bash-5.0 running. :^)
Diffstat (limited to 'LibC/setjmp.asm')
-rw-r--r-- | LibC/setjmp.asm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/LibC/setjmp.asm b/LibC/setjmp.asm index 7f1f13feec..68d08ef7d9 100644 --- a/LibC/setjmp.asm +++ b/LibC/setjmp.asm @@ -3,7 +3,7 @@ global setjmp setjmp: mov eax, [esp + 4] - mov [eax * 4], ebx + mov [eax + 0 * 4], ebx mov [eax + 1 * 4], esi mov [eax + 2 * 4], edi mov [eax + 3 * 4], ebp @@ -18,7 +18,7 @@ global longjmp longjmp: mov edx, [esp + 4] mov eax, [esp + 8] - mov ebx, [edx * 4] + mov ebx, [edx + 0 * 4] mov esi, [edx + 1 * 4] mov edi, [edx + 2 * 4] mov ebp, [edx + 3 * 4] |