Computer Architecture
eBook - ePub

Computer Architecture

Digital Circuits to Microprocessors

Guilherme Arroz, José Monteiro, Arlindo Oliveira

Compartir libro
  1. 752 páginas
  2. English
  3. ePUB (apto para móviles)
  4. Disponible en iOS y Android
eBook - ePub

Computer Architecture

Digital Circuits to Microprocessors

Guilherme Arroz, José Monteiro, Arlindo Oliveira

Detalles del libro
Vista previa del libro
Índice
Citas

Información del libro

-->

An introductory text to computer architecture, this comprehensive volume covers the concepts from logic gates to advanced computer architecture. It comes with a full spectrum of exercises and web-downloadable support materials, including assembler and simulator, which can be used in the context of different courses. The authors also make available a hardware description, which can be used in labs and assignments, for hands-on experimentation with an actual, simple processor.

This unique compendium is a useful reference for undergraduates, graduates and professionals majoring in computer engineering, circuits and systems, software engineering, biomedical engineering and aerospace engineering.

--> Sample Chapter(s)
Chapter 1: Digital Representation of Information

Request Inspection Copy


--> Contents:

  • Preface
  • Digital Representation of Information
  • Logic Functions
  • Physical Implementation of Logic Circuits
  • Combinational Modules of Medium Complexity
  • Arithmetic Circuits
  • Basic Sequential Circuits
  • Analysis and Design of Sequential Circuits
  • Register Transfers and Datapaths
  • Computer Architecture
  • Instruction Set Architectures
  • Programming in Assembly Language
  • Internal Structure of a Processor
  • Memory Systems
  • Inputs, Outputs and Communications
  • Advanced Computer Architecture Topics

-->
--> Readership: Professionals, researchers, academics, undergraduate and graduate students in computer engineering, circuits & systems, software engineering, biomedical engineering and aerospace engineering. -->
Computer Architecture;Digital Systems;Digital Circuits;Digital Logic;Microprocessors;Logig Gates;Sequential Circuits;Combinational Circuits;Binary Arithmetic;Arithmetic and Logic Unit;Pipelines00

Preguntas frecuentes

¿Cómo cancelo mi suscripción?
Simplemente, dirígete a la sección ajustes de la cuenta y haz clic en «Cancelar suscripción». Así de sencillo. Después de cancelar tu suscripción, esta permanecerá activa el tiempo restante que hayas pagado. Obtén más información aquí.
¿Cómo descargo los libros?
Por el momento, todos nuestros libros ePub adaptables a dispositivos móviles se pueden descargar a través de la aplicación. La mayor parte de nuestros PDF también se puede descargar y ya estamos trabajando para que el resto también sea descargable. Obtén más información aquí.
¿En qué se diferencian los planes de precios?
Ambos planes te permiten acceder por completo a la biblioteca y a todas las funciones de Perlego. Las únicas diferencias son el precio y el período de suscripción: con el plan anual ahorrarás en torno a un 30 % en comparación con 12 meses de un plan mensual.
¿Qué es Perlego?
Somos un servicio de suscripción de libros de texto en línea que te permite acceder a toda una biblioteca en línea por menos de lo que cuesta un libro al mes. Con más de un millón de libros sobre más de 1000 categorías, ¡tenemos todo lo que necesitas! Obtén más información aquí.
¿Perlego ofrece la función de texto a voz?
Busca el símbolo de lectura en voz alta en tu próximo libro para ver si puedes escucharlo. La herramienta de lectura en voz alta lee el texto en voz alta por ti, resaltando el texto a medida que se lee. Puedes pausarla, acelerarla y ralentizarla. Obtén más información aquí.
¿Es Computer Architecture un PDF/ePUB en línea?
Sí, puedes acceder a Computer Architecture de Guilherme Arroz, José Monteiro, Arlindo Oliveira en formato PDF o ePUB, así como a otros libros populares de Computer Science y Systems Architecture. Tenemos más de un millón de libros disponibles en nuestro catálogo para que explores.

Información

Editorial
WSPC
Año
2018
ISBN
9789813238350

Chapter 1

Digital Representation of Information

This chapter is focused on the ways computers represent information in digital format. In particular, it discusses the mechanisms used to represent various quantities in a digital computer. The digital electronic circuits that are commonly used in a digital computer can assume only one of two possible values, which implies that different quantities have to be represented in a format compatible with this restriction.
We will start by describing how integers are represented, both in the decimal number system, which is familiar to everybody and in other number systems more adequated to be manipulated by computers. In this chapter, this study is limited to non-negative integers and non-negative fractional numbers.
The chapter begins with Section 1.1, where we study binary, octal and hexadecimal number systems. Section 1.2 focuses on studying the foundations of binary arithmetic. Section 1.3 deals with the use of codes, both numeric (with emphasis on decimal codes) as well as alphanumeric (to represent other types of information). Section 1.4 concludes the chapter with some basic concepts on the organisation of binary representation of information.

1.1Number Systems

This chapter deals with the representation of non-signed integer and fractional numbers. Later, in Chapter 5, this subject will be reconsidered to address the representation of signed integer and real numbers. The representation of numbers in digital systems has to be undertaken considering that they use devices which can represent only two possible values.
Given that the common representation of numbers is based on the utilisation of a decimal number system, using base-10, it is natural to consider that the representation of numbers in digital systems may be made using the binary system, using base-2. The base is the number of digits used to represent a number under a given number system.
The general case of representation using a generic base-b will be studied first, followed by the study of the base-2 case.

1.1.1Representation of Integers in Base-b

The representation of a non-signed integer in base-10 is made using a sequence of digits. The number 435, for example, is represented by the sequence of digits 4, 3 and 5. The interpretation of the representation of a number results, firstly, from the digits used and, secondly, from their position within the sequence. As is evident, 435 ≠ 354, even though the digits used are the same.
The position of the digits indicates the weight for each digit. In the previous example, because the digit 4 is in the third position from the right, this means, in fact, four hundreds. The digit 3 represents three tens, and 5 represents five units. This system of representation of numbers is referred as positional.
This analysis can be stated more formally as follows:
figure
or, expressing the powers of 10 involved,
figure
which is a more general way of representation, emphasising the powers of the base.
The number 435 is said to be represented in base-10 since it results from the sum of consecutive powers of 10, each multiplied by the value of the corresponding digit as shown in Equation (1.2). To explicitly indicate that the number is represented in base-10, the following notation is used: 43510. To represent a number in base-10, the weights of each power of 10 are indicated using digits from 0 to 9, using a total of 10 distinct digits.
There is nothing to prevent the use of another base to represent a number. Consider, for example, the sequence of digits 1161 in base-7, which is usually indicated by 11617. In this case, this representation has the following meaning:
figure
Therefore, 11617 is another way of representing the number 43510.
Generally speaking, any integer N can be represented in any base-b with b ≥ 2
figure
or
figure
where pj is the digit which represents the weight of the jth power of the base. The number of digits necessary is b and it is usual that the digits are the integers between 0 and b − 1
figure
Thus, to represent numbers in base-b, digits of a value equal to or greater than b cannot be used. For example, the representation of a number in base-7 cannot use the digit 7 nor any other digit greater than 7. The sequence of digits 17427 is therefore not a valid representation of a number.
The conversion of the representation of a number in base-b to a representation in base-10 is not difficult, as illustrated by Equation (1.3). The reverse, converting a number represented in base-10 to its representation in base-b requires a little more work, but it is also simple. One of the most common methods is the method of successive divisions. As an example, consider a number N represented in base-b, as shown in Equation (1.4). If the number is divided by b, this results in
figure
where p0 is the rest of the division of N by b (remember that p0 < b). In this way, the digit p0 can be identified.
Repeating the previous procedure for the number
inline
will enable us to derive p1 and through the successive application of the procedure, all the digits that represent the number.
As an example, consider obtaining the representation of the number 27310 in base-5
figure
In the same way, the following can be ...

Índice