Welcome to Computer Systems, by J. Stanley Warford, where you can learn about the textbook and download resources.

Fifth Edition – Errata

 

Errata for the first printing of the fifth edition of Computer Systems.

Page 27

In Example 1.2, change “400” to “500” to read “… of the 500-MB thumbnail database …”.

Page 27

In Example 1.3, change “Assume that each word is followed by one space character, on average.” to “Assume that each word is six characters long and is followed by one space character, on average.” Change “36” to “245” to read “… the typist enters 245 characters per minute.” Change “36” to “245” to read “(8(b/char) x 245 char)/…”. Change “4.8 b/s” to “32.7 b/s”.

Page 38

In Example 1.7, third math line, change “bit pixels” to “bits per pixel” to read “(number of pixels) x (bits per pixel)”.

Page 96

In Figure 2.33(d), second cell from the top on the run-time stack labeled retAddr, change “ra1” to “ra2“.

Page 136

In the paragraph above Section 3.3, change “16” to “32” to read “… that stores integers in 32-bit cells, …”.

Page 158

In the penultimate paragraph, change “1.011” to “1.101” to read “… you would store the most significant bits, 1.101, in the …”.

Page 160

In the penultimate paragraph, change “0.132815” to “0.1328125” to read “The smallest positive value that can be stored is 0.1328125”.

Page 168

In the first paragraph, change the exponent of 2 from “1023” to “1024” to read “The smallest positive value that can be stored is 2^1024, or …”.

Page 277

In the first paragraph, change “exam1” to “exam2” to read “… the symbol exam2 has the value 5 …”.

Page 311

In Figure 6.18 under Hidh-Order Language, delete the line of code

printf("****\n");

Page 331

In the second paragraph, change “.EQUATE” to “.BLOCK” to read “… a and b are allocated at translation time with the .BLOCK dot command.”

Page 377

Change the second bullet to read “To allocate storage for the node, it generates a call to malloc() with tot in the accumulator, where tot is the total number of bytes occupied by the structure.”

In the third bullet, change “stack-relative” to “immediate”, change “p” to “the field”, and insert “from p” to read “… it generates LDWX with immediate addressing to move the value of the field into the index register, followed by LDWA or LDBA from p, depending on the type in the cell …”

Page 378

In the last paragraph, change “malaloc()” to “malloc()” to read “The malloc() function allocates memory from the heap.”

Page 447

In Figure 7.45, delete five lines of duplicated code starting with

public class Tokenizer {

and ending with

   }

Page 623

In Figure 10.60(b), change “+” to “plus”.

Page 642

Delete “AB” in the figure label to read “FIGURE 11.7”.

Page 662

In Figure 11.33, add the item “11/0” just below “10/1” on the transition from 10 to 11. See Fourth edition, Figure 11.32, page 570.

Page 722

In Figure 12.21 Cycle 1, change CCk to LoadCk to read

1. A=11, AMux=1, ALU=0, CMux=1, C=8; LoadCK

Page 796

Chapter 2, Exercise 2, change “(a, part 1)” to “(a, part 2)” and change “(a, part 2)” to “(a, part 1)”. In (a, part 4), change “five” to “four” to read “Maximum of four stack frames.”

Page 798

Exercise 17(c), change “1011” to “1010” to read “(e) 100 0001, NZVC = 1010”.

Page 798

Exercise 32(c), change “-256” to “-128” to read “(c) 40 (hex) = 100 0000 (bin) = -128 (dec)”.

Page 799

Exercise 46(b), insert “0” to read “(b) 0.0000101”.