(1) how to store data using stack segment
(2) how data is stored in stack using PUSH segment.
(3) how data is restored using POP segment.
(4)learned about LIFO system.LIFO means Last in First Out.
(5) learned about Offset address, stack pointer.
This things i learned from this lab experiment.
2. why we use stack segment?
We use stack segment to store multiple data in one register.
For
example if we have 3242H in AX and we need to store another data 1111H
in AX then first we need to store the data of AX(3242H) into stack
memory using Push ax then we can store 1111H into AX again.
and we can use 3242H whenever we need by using pop instruction.