python (12.9k questions)
javascript (9.2k questions)
reactjs (4.7k questions)
java (4.2k questions)
java (4.2k questions)
c# (3.5k questions)
c# (3.5k questions)
html (3.3k questions)
How do programs know how much space to allocate for local variables on the stack?
In this simple function, space is allocated for local variables. Then, variables are initialized and printf is called to output them.
000000000040056a <func>:
40056a: 55 ...
Happy Jerry
Votes: 0
Answers: 1
C# System.Diagnostics.StackFrame.GetFileName always return null
I used the following code to get the name of the source code's file
StackTrace trace = new StackTrace(true);
string fileName = string.Empty;
foreach (var frame in trace.GetFrames())
{
string fileT...

THANH SON T.
Votes: 0
Answers: 1
Understanding how the stack in assembly works
Having never before seen assembly in my life I'm having trouble understand the concept of Stack and how it works regarding the movement of registers.
Here's a code I've been given for adding 2 numbers...
PerkeBME
Votes: 0
Answers: 1
Tail call stack
I'm having trouble understanding the Stack manipulation needed in order to implement Tail call in assembly language.
When we have a Tail call to function We basically want to override the current Acti...
Alexander Uzelevski
Votes: 0
Answers: 1