Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Assembly x86 > Re: stack avail...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 2 Topic 4489 of 4824
Post > Topic >>

Re: stack available

by pete <spamtrap@[EMAIL PROTECTED] > Jan 16, 2008 at 05:39 AM

In article 
<5489cffa-da7d-46bb-a21b-8c5e3f38f799@[EMAIL PROTECTED]
>
           spamtrap@[EMAIL PROTECTED]
 "TestUser12 " writes:

> I'm generating asm code manually in a Borland C++ Builder 6 program,
> and calling it by a function pointer. In the asm program there are
> nested procedures with its local scopes. How much stack can I use in
> this case? I think Borland C++ Builder provides the stack, but Im not
> sure how much stack can I use.

A piece of string?  Since C++ Builder has defined the stack size 
(I assume) it rather depends on how much there is to start with 
and how much has already been consumed by the time you get to 
call your asm code.  You likely have direct control over the 
former, and some influence over the latter by your coding style 
i.e. the number and size of local variables you declare, so the 
answer is "what's left" ;-)

I'm not sure what you mean by "nested procedures" with "local 
scopes".

Pete
-- 
   "We have not inherited the earth from our ancestors,
    we have borrowed it from our descendants."
 




 2 Posts in Topic:
Re: stack available
pete <spamtrap@[EMAIL   2008-01-16 05:39:08 
Re: stack available
TestUser12 <spamtrap@  2008-01-16 04:56:12 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Sun Oct 12 4:39:46 CDT 2008.