News:

Masm32 SDK description, downloads and other helpful links
Message to All Guests
NB: Posting URL's See here: Posted URL Change

Main Menu

Crazy sounds

Started by felipe, May 13, 2017, 07:06:14 AM

Previous topic - Next topic

jj2007

Quote from: aw27 on May 13, 2017, 11:06:04 PMIt replaces the 19 years old crap you have there mspdb50.dll

And let's your code crash on older machines :bgrin:

aw27

Quote from: jj2007 on May 14, 2017, 01:25:00 AM
Quote from: aw27 on May 13, 2017, 11:06:04 PMIt replaces the 19 years old crap you have there mspdb50.dll

And let's your code crash on older machines :bgrin:

True, no more waivers for bad code - let it crash everything.   :greenclp:

felipe

Quote from: aw27 on May 13, 2017, 10:48:32 PM
Quote from: felipe on May 13, 2017, 10:32:51 PM
But, what's wrong with the other registers, such as ecx
eax, edx and ecx are volatile, i.e they will be used within the Beep call without preserving their state on entry. ebx is perserved. This is what the stdcall specification says!

I didn't see this reply before. Thanks a lot.  :icon14:
I wasn't aware of this. I only knew that the parameters are passed (in this convention) in opposite order, that the function called cleans the stack and that the return value is in eax.
Thanks again,  :t. I have to keep learning.  :greenclp:

felipe

Quote from: aw27 on May 13, 2017, 10:48:32 PM
If you understood my example you could see that I took all the care about that but knowing what the API calls would do.

Now i know what the USES directive does.  :icon_mrgreen: