Skip to Content
Embedded Systems and Computer Architecture
book

Embedded Systems and Computer Architecture

by Graham R Wilson
December 2001
Intermediate to advanced
320 pages
7h 37m
English
Newnes
Content preview from Embedded Systems and Computer Architecture
4

Computer arithmetic

A result of our choosing to represent numbers in binary notation is that we can devise logic circuits to process the numbers. In this chapter, we design a simple adder circuit and develop it into a more useful ALU (arithmetic and logic unit). We see how the simple adder can be made to operate faster by using the carry-look-ahead technique. Finally, we look at how floating-point numbers are represented and how arithmetic is performed on them.

4.1 Circuit to add numbers

We wish to construct a circuit that will form the sum of two 4-bit numbers. Let these numbers be A = = <A3 A2 A1 A0> and T = = <T3 T2 T1 T0> while the sum of A and T is S = = <S4 S0 S2 S1 S0>.

The notation Yi refers to bit i of number Y. As noted in Chapter ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Embedded Systems Architecture - Second Edition

Embedded Systems Architecture - Second Edition

Daniele Lacamera

Publisher Resources

ISBN: 9780750650649