1. Ans:
I have learned how to be familiar with stack operations and to know how data are stored and removed from stack memory. Learned about the LIFO system which is the way how data are saved and restored from the memory. We have learned about the stack pointer and the offset address of the data.
2:Ans:
By using the stack we can easily store any data in the stack temporarily using PUSH instruction and restore the data using POP instruction. The stack segment register (SS) is usually used to store information about the memory segment that stores the call stack of currently executed program. SP points to current stack top. To push a value to the stack, the PUSH
instruction is used. To pop a value from the stack, the POP
instruction is used.