.section .text prompt: .asciz "Enter a price and tax rate: " scanf_format: .asciz "%lf %lf" output_format: .asciz "Final Price: %lf\n" one: .double 1.0 .global _start _start: mov $45, %rdi call triple_number # Result should be in %rax mov $prompt, %rdi call printf sub $16, %rsp mov $scanf_format, %rdi mov %rsp, %rsi mov %rsp, %rdx add $8, %rdx call scanf movsd (%rsp), %xmm0 movsd 8(%rsp), %xmm1 movsd (one), %xmm2 addsd %xmm2, %xmm1 call add_tax mov $output_format, %rdi mov $1, %rax // Result from add_tax should already be in xmm0 call printf mov $60, %rax mov $23, %rdi syscall