HOME  |  NEWS  |  BLOGS  |  MESSAGES  |  FEATURES  |  VIDEOS  |  WEBINARS  |  INDUSTRIES  |  FOCUS ON FUNDAMENTALS
  |  REGISTER  |  LOGIN  |  HELP
Comment
Jon Titus
User Rank
Blogger
Re: Part IV: Fundamentals of Digital Debugging
Jon Titus   1/19/2012 5:42:06 PM
NO RATINGS
Q:  How do you decide he stack value initially?

 

A:  Make an educated guess. based on the number of nested functions called.  The MCUs will need to push register values onto the stack, too, but I don't know how to guess at the amount of stack that would use.   The compiler will set up a stack for you and you can watch stack use in the debugger watch windows.  That will also help when you need to determine stack size.



Partner Zone
Latest Analysis
People don’t like change, but as did the three industrial revolutions before it, Industry 4.0 will deliver painful change and irrecoverable harm to those that don’t adapt.
Futurist Raymond Kurzweil discussed biotechnology, solar power, and 3D printing at the Pacific Design & Manufacturing Show in Anaheim this week.
Valentine’s Day seems like a good time to recognize those folks around us who have had a hand in our success.
Makers of industrial PCs are continuing to take advantage of Moore’s law expansion of processing power enabling creative automation and control schemes with multicore processors.
Researchers at Lawrence Livermore National Laboratory have published two physics-based models for the selective laser melting (SLM) metals additive manufacturing process, so engineers can understand how it works at the powder and scales, and develop better parts with less trial and error.
More:Blogs|News
Design News Webinar Series
1/28/2016 11:00 a.m. California / 2:00 p.m. New York
12/8/2015 11:00 a.m. California / 2:00 p.m. New York
2/18/2016 11:00 AM PT | 2:00 PM ET
2/24/2016 11:00 AM PT | 2:00 PM ET
Quick Poll
The Continuing Education Center offers engineers an entirely new way to get the education they need to formulate next-generation solutions.
Jan 11 - 15, Designing ARM Devices Using Segger Tools
SEMESTERS: 1  |  2  |  3  |  4  |  5  |  6 |  7 | 8 | 9


Focus on Fundamentals consists of 45-minute on-line classes that cover a host of technologies. You learn without leaving the comfort of your desk. All classes are taught by subject-matter experts and all are archived. So if you can't attend live, attend at your convenience.
Learn More   |   Login   |   Archived Classes
Twitter Feed
Design News Twitter Feed
Like Us on Facebook

Sponsored Content

Technology Marketplace

Copyright © 2016 UBM Canon, A UBM company, All rights reserved. Privacy Policy | Terms of Service