Abstract
So far we have been concerned with 8-bit arithmetic — that is, 8-bit operands and 8-bit results. The range of numeric values which can be manipulated by 8-bit arithmetics is small and so we may need to use 16-bit arithmetic and more. The Z80 microprocessor has instructions which allows 16-bit arithmetic to be performed directly. These instructions can also be used to provide 32-bit arithmetic, 48-bit arithmetic and so on. The 16-bit arithmetic instructions also allow additional loop facilities.
Preview
Unable to display preview. Download preview PDF.
Author information
Authors and Affiliations
Copyright information
© 1981 Roger Hutty
About this chapter
Cite this chapter
Hutty, R. (1981). 16-bit and multiple byte arithmetic. In: Z80 Assembly Language Programming for Students. Macmillan Computer Science Series. Palgrave, London. https://doi.org/10.1007/978-1-349-06155-6_13
Download citation
DOI: https://doi.org/10.1007/978-1-349-06155-6_13
Publisher Name: Palgrave, London
Print ISBN: 978-0-333-32295-6
Online ISBN: 978-1-349-06155-6
eBook Packages: Computer ScienceComputer Science (R0)