1.What was your learning from this experiment module? 2.why we use stack segment?

1.What was your learning from this experiment module? 2.why we use stack segment?

by Ehsan Antor -
Number of replies: 0
1.What do you learn from the module ? (i)Stack holds the data temporarily and stores the return addresses used by the procedures. (ii)The stack memory is an LIFO system, that describes the way that data are stored and removed from the memory. (iii)Data are stored into the stack with a PUSH instruction and removed with a POP instruction. 2.Why do we use the stack ? We use the stack to make the efficient reuse of any register.Because the assemply language can use only four registers.