flat assembler
Message board for the users of flat assembler.
Index
> Windows > Registers usage by Windows API |
Author |
|
revolution 01 Oct 2008, 11:56
All Windows APIs can/might/will use EAX, ECX and EDX at anytime. All other registers are preserved.
|
|||
01 Oct 2008, 11:56 |
|
barmentalisk 01 Oct 2008, 12:18
Thank you. But that I already know.
I'd like to know if some API, for example, does not use EDX, how can I find it without decompillation of every API? Is anywhere such information? |
|||
01 Oct 2008, 12:18 |
|
revolution 01 Oct 2008, 12:24
I've never seen any official documentation and I doubt I ever will. The OS is written in HLL and the compiler generally doesn't tell you what functions are not using particular registers.
But, be that as it may, what you propose is risky. Your code can break at any time with a new security patch or service patch or upgrade or whatever. And what you might gain, if anything, is of dubious value. |
|||
01 Oct 2008, 12:24 |
|
barmentalisk 01 Oct 2008, 13:09
Thank you very much. Now I've got the idea
You are a real brother-in-asm =). |
|||
01 Oct 2008, 13:09 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.