This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revision | |||
| en:multiasm:papc:chapter_6_8 [2026/02/13 13:36] – [Procedures, Functions and Calls in Windows and Linux] ktokarz | en:multiasm:papc:chapter_6_8 [2026/02/27 01:48] (current) – [Callig Windows system functions] jtokarz | ||
|---|---|---|---|
| Line 117: | Line 117: | ||
| push rbp ; push rpb to the stack | push rbp ; push rpb to the stack | ||
| mov rbp, rsp ; store rsp to rbp | mov rbp, rsp ; store rsp to rbp | ||
| - | sub rsp, 48 ; shadow space (32 bytes) and stack alignment (additional 8 bytes) | + | sub rsp, 48 ; shadow space (32 bytes) and stack alignment (additional |
| + | ; | ||
| ; we need the handle of the console window | ; we need the handle of the console window | ||