diff options
| author | Mirek Kratochvil <exa.exa@gmail.com> | 2023-11-01 18:25:26 +0100 |
|---|---|---|
| committer | Mirek Kratochvil <exa.exa@gmail.com> | 2023-11-01 18:25:26 +0100 |
| commit | 1909e97d4615045e707710a2aaeae8bf702a8355 (patch) | |
| tree | acba7fd278ef27dbdb749f936b38a812a056176a /include/intops.s | |
| parent | 32d71ef9f25b4cebb2ae95b4f528bbc02f62ea31 (diff) | |
| parent | 970ffb4684dbd88bd54e909820bbc5a66a87b18d (diff) | |
| download | uskel-1909e97d4615045e707710a2aaeae8bf702a8355.tar.gz uskel-1909e97d4615045e707710a2aaeae8bf702a8355.tar.bz2 | |
Merge branch 'gc-attempt-1'
Diffstat (limited to 'include/intops.s')
| -rw-r--r-- | include/intops.s | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/intops.s b/include/intops.s index dbadb37..08b3300 100644 --- a/include/intops.s +++ b/include/intops.s @@ -5,13 +5,13 @@ _intops_s_file: .include "include/primops.s" .primop2 plus - mov 010(%rsi), %rax # arg 2 + mov 010(%rsi), %rax # arg 2 mov 020(%rbp), %rsi # location of arg1 add 010(%rsi), %rax # arg 1 primop2_ret_int %rax .primop2 mul - mov 010(%rsi), %rax # arg 2 + mov 010(%rsi), %rax # arg 2 mov 020(%rbp), %rsi # location of arg1 mulq 010(%rsi) # arg 1 (goes to %rax and %rdx) primop2_ret_int %rax @@ -19,7 +19,7 @@ _intops_s_file: .primop2 sub mov 020(%rbp), %rdi # location of arg1 mov 010(%rdx), %rax # arg 1 - sub 010(%rsi), %rax # arg 2 + sub 010(%rsi), %rax # arg 2 primop2_ret_int %rax .endif # _intops_s_file |
