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 arithmetic is small and so we may need to use 16-bit arithmetic and more. The Z80 microprocessor has instructions which allow 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.
Copyright information
© 1984 Roger Hutty
About this chapter
Cite this chapter
Hutty, R. (1984). 16-Bit and Multiple Byte Arithmetic. In: Programming in Z80 Assembly Language. Palgrave, London. https://doi.org/10.1007/978-1-349-06957-6_13
Download citation
DOI: https://doi.org/10.1007/978-1-349-06957-6_13
Publisher Name: Palgrave, London
Print ISBN: 978-1-349-06959-0
Online ISBN: 978-1-349-06957-6
eBook Packages: Computer ScienceComputer Science (R0)