1
$\begingroup$

The code snippet below is the "beginning lines of an assembly language program" used to display a single line string .

stack segment para stack 'stack'
       db 16 dup(0)
stack ends 

my question is : why stack segment is available in assembly program? And how do I define this 'stack'? Any help will be appreciated. My basic idea is that it is used to temporarily hold data.

$\endgroup$
1

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.