Skip to main content

Part of the book series: Texts in Computer Science ((TCS))

  • 3577 Accesses

Abstract

So far we have seen how to represent numbers as binary vectors and how, using transistors, one can implement logic gates that perform the basic Boolean operations NOT, AND, and OR. In order to realise the goal of performing useful computation on integer values represented as $n$-bit vectors, we need to compose these logic gates into higher-level circuits. Generally speaking, the Arithmetic and Logic Unit (ALU) packages circuits for different operations into one component that performs computation for the processor. To aid the discussion in examples we set $n=8$ throughout, i.e., set the size of a word to equal one byte. However, it is important to see that the methods are presented in a general form: one can easily extend them to cope with larger word sizes.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 39.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 54.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info
Hardcover Book
USD 54.99
Price excludes VAT (USA)
  • Durable hardcover edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

Author information

Authors and Affiliations

Authors

Rights and permissions

Reprints and permissions

Copyright information

© 2009 Springer-Verlag London Limited

About this chapter

Cite this chapter

Page, D. (2009). Arithmetic and Logic. In: Practical Introduction to Computer Architecture. Texts in Computer Science. Springer, London. https://doi.org/10.1007/978-1-84882-256-6_7

Download citation

  • DOI: https://doi.org/10.1007/978-1-84882-256-6_7

  • Publisher Name: Springer, London

  • Print ISBN: 978-1-84882-255-9

  • Online ISBN: 978-1-84882-256-6

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics