Abstract
Subroutines are groups of instructions that are performed frequently with different data at several stages in a program. As mentioned earlier, the addition of two 2-byte numbers can require six separate instructions occupying 18 locations in store. More complicated functions, such as multiplication, division and trigonometrical ratios, use many more instructions. It is thus highly desirable for commonly used programs for such functions to be written in such a way that it is not necessary to rewrite them in full each time they are needed.
This is a preview of subscription content, log in via an institution.
Preview
Unable to display preview. Download preview PDF.
Author information
Authors and Affiliations
Copyright information
© 1979 Eric Huggins
About this chapter
Cite this chapter
Huggins, E. (1979). The Stack. In: Microprocessors and Microcomputers. Macmillan Basis Books in Electronics. Palgrave, London. https://doi.org/10.1007/978-1-349-16105-8_11
Download citation
DOI: https://doi.org/10.1007/978-1-349-16105-8_11
Publisher Name: Palgrave, London
Print ISBN: 978-0-333-22604-9
Online ISBN: 978-1-349-16105-8
eBook Packages: EngineeringEngineering (R0)