News:

MASM32 SDK Description, downloads and other helpful links
MASM32.com New Forum Link
masmforum WebSite

PopAD and PushAD

Started by rshadarack, August 01, 2005, 12:21:40 AM

Previous topic - Next topic

QvasiModo

Quote from: hutch-- on August 04, 2005, 07:24:02 AM
QvasiModo,

Just a point of clarification for people who need to properly understand this stuff.

> Also make sure your callback procs preserve EBX, ESI and EDI. For example window procedures

I gather here you mean preserve in the sense of IF you modify any of these registers THEN you need to preserve them first and restore them after ? I gather that you don't intend to blindly push and pop registers for no purpose.

Yes, that's exactly what I mean. Only push registers that your procedure actually modifies. :)