flat assembler
Message board for the users of flat assembler.
Index
> Windows > [solved] strange problem with EDX register in Win32 Api |
Author |
|
revolution 11 Apr 2021, 11:04
The macro for addr uses edx as a temporary register.
Code: lea edx, [lpWriteRegion] push edx |
|||
11 Apr 2021, 11:04 |
|
Picnic 11 Apr 2021, 11:10
oh, i see. Thanks revolution.
|
|||
11 Apr 2021, 11:10 |
|
revolution 11 Apr 2021, 15:43
You could change the macro to do this:
Code: push edx lea edx, [lpWriteRegion] xchg edx, [esp] |
|||
11 Apr 2021, 15:43 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.