This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| en:multiasm:exercisebook:pc:sut:scenarios_standalone [2026/05/20 15:43] – [Implementation of calculation functions] ktokarz | en:multiasm:exercisebook:pc:sut:scenarios_standalone [2026/05/20 15:57] (current) – [Implementation of calculation functions] ktokarz | ||
|---|---|---|---|
| Line 208: | Line 208: | ||
| push r10 ; 5th argument | push r10 ; 5th argument | ||
| | | ||
| - | sub rsp, 20h ; shadow space | + | sub rsp, 20h ; |
| | | ||
| call sum_6_int ; function call | call sum_6_int ; function call | ||
| Line 215: | Line 215: | ||
| mov rcx, rax ; result in rax | mov rcx, rax ; result in rax | ||
| </ | </ | ||
| + | |||
| + | The figure {{ref> | ||
| + | <figure ex_stack_caller_push> | ||
| + | {{ : | ||
| + | < | ||
| + | </ | ||
| + | |||