The OP
Published on 2018-6-17 22:58
Only look at the author
This post is from Microcontroller MCU
Latest reply
Static local variables are placed in the global static area, right? This should not be pushed onto the stack. Judging from what the OP said, it means static functions. What I understand is static local variables, but beginners may be misled after reading it. It is better to be rigorous.
Details
Published on 2018-6-18 10:58
| ||
|
||
2
Published on 2018-6-18 08:35
Only look at the author
This post is from Microcontroller MCU
Comments
The static function mentioned by the OP should refer to the static variable. However, when this variable is automatically allocated space on the stack when the function is called, the time is negligible, because whether there is this variable or not, there will be a constant time for the function call to enter and exit the stack.
Details
Published on 2018-6-18 10:52
| ||
Personal signaturetraining
|
||
|
3
Published on 2018-6-18 10:52
Only look at the author
This post is from Microcontroller MCU
Comments
Static local variables are placed in the global static area, right? This should not be pushed onto the stack. From what the OP said, it means static functions. I understand it as static local variables, but beginners may be misled. It is better to be more rigorous.
Details
Published on 2018-6-18 10:58
| ||
|
||
|
4
Published on 2018-6-18 10:58
Only look at the author
This post is from Microcontroller MCU
| ||
Personal signaturetraining
|
||
|
This post is from Microcontroller MCU
| ||
|
||
|
EEWorld Datasheet Technical Support
EEWorld
subscription
account
EEWorld
service
account
Automotive
development
circle
About Us Customer Service Contact Information Datasheet Sitemap LatestNews
Room 1530, Zhongguancun MOOC Times Building, Block B, 18 Zhongguancun Street, Haidian District, Beijing 100190, China Tel:(010)82350740 Postcode:100190