Sending/returning values to MFC/Microsoft functions
Hi all,
Sorry for a really stupid question, but how do I send and receive
values to/from Windows APIs? Is it via the stack, or via registers? If
the latter, is there a website that lists which registers contain which
return values?
Many thanks
Trev
.
Relevant Pages
- Re: Statement on Schildt submitted to wikipedia today
... you discover that Schildt was libeled. ... It turns out that, on this particular architecture, some registers are saved ... The problem is, even though indeed this implementation has "a stack", if you ... end up adjacent to one of our newest automatic variables. ... (comp.lang.c.moderated) - Re: Geriatric Pentium
... processor scavenging spare ram cycles to back it up to ram and restore ... Let's say I had hardware for 128 registers. ... Ditto for caching the stack. ... PUSHL P+2;; take parameter #2 and push it ... (comp.lang.java.advocacy) - Re: [OT] PostLisp, a language experiment
... >> that a C compiler generates code to arrange the parameters where it ... > value from the user stack. ... > can be simply passed in registers. ... common for the top stack item to reside in a register, ... (comp.lang.lisp) - Re: I found a FORTH stack optimzer, but could use a better version.
... I'm thinking more of minimal hardware requirement in terms of registers ... only a few require the more "non-portable" x86 CISC instructions. ... "Stack Computers" main index ... then a fast native ROT or ROLL ... (comp.lang.forth) - Re: my assembler is better than your assembler
... pushed onto the stack by EBP will be in memory that is cached. ... but the fish may start smelling with the first PUSH. ... but only registers which are needed. ... your aspect of maintainability] ... (alt.lang.asm) |
|