diff options
| author | Mirek Kratochvil <exa.exa@gmail.com> | 2023-11-01 18:25:06 +0100 |
|---|---|---|
| committer | Mirek Kratochvil <exa.exa@gmail.com> | 2023-11-01 18:25:06 +0100 |
| commit | 970ffb4684dbd88bd54e909820bbc5a66a87b18d (patch) | |
| tree | 43ad1d8438ef824deaf6d363d38f5d60f3d04645 /include/intops.s | |
| parent | d1a4eb56ccf39974dd93eeb0434721acc69bbc7c (diff) | |
| download | uskel-970ffb4684dbd88bd54e909820bbc5a66a87b18d.tar.gz uskel-970ffb4684dbd88bd54e909820bbc5a66a87b18d.tar.bz2 | |
all looks ok
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 |
