Oh dear! Yup, that stack thing is confusing alright. So confusing I swapped the parameter order in the first part of the stack diagram. The sequence should go like this:
Local vars (from VEE)
Param (from VEE)
Proc (from VEE)
Return address (from VEE)
The rest is ok except for TOS, which should be by the note "Next PUSH goes here". Also, ebp actually points to "Local vars (p in this case)". This is compensated for in the get_Params function by adding one to the passed index and then multiplying by 4. Ah, late nites & beer.
-SHAWN-
Local vars (from VEE)
Param (from VEE)
Proc (from VEE)
Return address (from VEE)
The rest is ok except for TOS, which should be by the note "Next PUSH goes here". Also, ebp actually points to "Local vars (p in this case)". This is compensated for in the get_Params function by adding one to the passed index and then multiplying by 4. Ah, late nites & beer.
-SHAWN-
to figure out without your help vrf. Now its on to the NI DMM card.
Best Regards,
Tom Daniels
Sr. Test Engineer
The Morey Corporation
100 Morey Drive
Woodridge, IL 60517
T: (630) 754-2256
F: (630) 754-2656
tdaniels@moreycorp.com
This e-mail, including attachments, may contain information that is confidential and/or proprietary, and may only be used by the person to whom this email is addressed. If the recipient of this e-mail is not the intended recipient or an authorized agent, the reader is hereby notified that any dissemination, distribution, or copying of this e-mail is prohibited. If this e-mail has been delivered to you in error, please notify the sender by replying to this message and deleting this e-mail immediately.
---
To subscribe please send an email to: "vrf-request@lists.it.agilent.com" with the word subscribe in the message body.
To unsubscribe send a blank email to "leave-vrf@it.lists.it.agilent.com".
To send messages to this mailing list, email "vrf@agilent.com".
If you need help with the mailing list send a message to "owner-vrf@it.lists.it.agilent.com".
Search the "unofficial vrf archive" at "www.oswegosw.com/vrf_archive/".