What does this assembly l code mean? -


in program source code ,i saw following. code exactly?

.code foo proc    nop    nop     push rax    push rax    mov rax, 545h     mov [rsp+8], rax    pop rax     ret foo endp end 

then used dll export:

extern "c" void __stdcall foo(void); 

it pushes 2 values, modifies 1 of them, pops one. leaves 1 value ret.

it unclear how better jmp 545h though.


Comments

Popular posts from this blog

python - Healpy: From Data to Healpix map -

c - Bitwise operation with (signed) enum value -

xslt - Unnest parent nodes by child node -