Reflection of Experiment Module 5

Reflection of Experiment Module 5

by Solaiman Ishtiyak -
Number of replies: 0

                                               Answer to the Question No.01

For stored data and removed data from the memory we use Stack memory. The Stack memory we use LIFO ( Fast Input Fast Output) theory. For data stored we use PUSH and remove we use POP.

For stored  data value increase 2 and for removed data decrease 2.

The stack memory is maintained by 2 registers 1) Stack Pointer(SP) and 2) Stack Segment(SS).

                                                   Answer to the Question No.02

In assembly language programming we have only use four registers. These are AX,BX,CX,DX. But we need a lot of register to run a program, it’s a problem. So we need to reuse these register again and again. To solve this problem we need stack segment .