Mastering Assembly Programming by Alexey Lyashko

Mastering Assembly Programming by Alexey Lyashko

Author:Alexey Lyashko
Language: eng
Format: epub, pdf
Tags: COM051040 - COMPUTERS / Programming Languages / Assembly Language, COM010000 - COMPUTERS / Compilers, COM046070 - COMPUTERS / Operating Systems / Linux
Publisher: Packt Publishing
Published: 2017-09-25T05:33:13+00:00


+4 procedure return address

EBP points here previous value of EBP

-4 first stack frame variable

.... other stack frame variables

.... saved registers

ESP points here current stack position

Microsoft x64 (64-bit)

Microsoft uses its own calling convention in the 64-bit mode (long mode) using a mixed register/stack paradigm for passing procedure parameters. This means that only the first four parameters may be passed via registers and the rest (if any) should be pushed onto the stack. The following table illustrates which registers are used and in what manner:

Parameter index

(zero based)

Integer/pointer

Floating point



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.