Define stack segment, Computer Engineering

Assignment Help:

Q. Define Stack segment ?

8086 Microprocessor supports Word stack. Stack segment parameters tell the assembler to alert linker that this segment statement states the program stack area.

A program should have a stack area in that computer is continuously carrying on numerous background operations which are completely transparent, even to an assembly language programmer, for illustration a real time clock. Every 55 milliseconds real time clock interrupts.  Every 55 ms CPU is interrupted. CPU records state of its registers and then goes about updating the system clock. When it finishes servicing system clock it has to restore registers and go back to doing whatever it was doing when interruption took place.  All such information gets recorded in stack. If your program has not any stack and if real time clock were to pulse whereas the CPU is running your program there will be no way for CPU to find the way back to your program when it was through updating the clock. 0400H byte is default size of allocation of stack. Please consider if you haven't specified stack segment it is automatically created.


Related Discussions:- Define stack segment

What are the application-oriented languages, What are the Application-orien...

What are the Application-oriented languages Application-oriented languages are highest level, meaning very easy to write and assembly languages are the lowest, meaning hardest

Binary equivalent of the decimal number 368 , What is the binary equivalent...

What is the binary equivalent of the decimal number 368 ? Ans. 101110000 is the Binary equivalent of the Decimal number 368. From Decimal number to Binary number conversioni

What is the system call available to transmit a signal, What is the system ...

What is the system call available to transmit a signal? System call Kill is used to send a signal to a method or a group of processes. Int kill (pad tepid, Int sig); This

Find 10s complement for decimal number, Q. Find 10's complement for decimal...

Q. Find 10's complement for decimal number? Adding 1 in 9's complement produces 10's complement. 10's complement of 0256 = 9743+1 = 9744. Please note on adding the number in

Describe method overloading, Method overloading is to overload methods usin...

Method overloading is to overload methods using similar class name by writing different parameters. This is known as Method Overloading.

How speech is transmitted in a digital switching environment, How speech is...

How speech is transmitted in a digital switching environment using PCM/TDM? A digital carrier system is a communications system which uses digital pulses quite than analogue si

Explain the concept behind pre-compositing adobe, Question 1: (a) Expl...

Question 1: (a) Explain the concept behind Pre-Compositing Adobe After Effects. (b) Briefly describe the Wiggler function in Animation help in Adobe After Effects. (c)

What is the use of ''using'' declaration in c++, A using declaration in C++...

A using declaration in C++ makes it likely to use a name from a namespace without the scope operator.

How the temperature effecting the delays in a chip, How the temperature eff...

How the temperature effecting the delays in a chip The delays are directly proportional to the temperature. As the temperature enhances the delays are enhances and chip wil

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd