Errata for The 68000 Microprocessor
ERRATA FOR
THE 68000 MICROPROCESSOR
Last Revision: Sept. 3, 1997
PAGE LOCATION CORRECTION --------------------------------------------------------------------- 35 Question 1 last entry in table should be 19.125 ^^^ 77 Question 20 at address $0F0040 ^^^^^^^ 78 Question 27 It's not really a typo, but this question should have been placed in Chapter 6 (not Chapter 2). 82 RH column, 2nd last line The 64-bit sum is left in D2/D3. ^^ 86 Figure 3-10 (After:) D6 12345678 ^ 110 Table 4-1 It's not really a mistake, but this table should probably indicate that the following assembler directives can appear in two forms: .AND. or & .EQ. or = .NE. or <> .GE. or >= .LE. or <= .GT. or > .LT. or < .UGT. or >> .ULT. or << 115 Figure F, part (a). Lines 3-6 should be 3 00000000 CONTROL EQU 0 ^ 4 00000002 STATUS EQU 2 ^ 5 00000004 INPUT EQU 4 ^ 6 00000006 OUTPUT EQU 6 ^ Figure F, part (b). Lines 8-9 should be 8 00001006 117C00F5 MOVE.B #$F5,OUTPUT(A0) ^^^^ 0000100A 0006 ^ ^^^^ 9 0000100C END ^^^^^^^^^^ 135 Figure E, line 15 Note: alignment is off. Should look like this: 12 0000800C 4A19 LOOP TST.B (A1)+ 13 0000800E 6A04 BPL.S SKIP 14 00008010 5228FFFF ADDQ.B #1,-1(A0) 15 00008014 5300 SKIP SUBQ.B #1,D0 ^^^^^^^^^^^^^^^^^^^^ 16 00008016 66F4 BNE LOOP 141 Example 5-11 The example works only for 16-bit integers. 157 Question 11 005F ^^^^ 165 Left column, line 8 4K block at $00C000... ^^ 174 Example 7-12, Solution IPL2 = 0, IPL1 = 1, IPL0 = 1 ^ 175 Example 7-13 circuitry in Figure 7-12 ^ 183 Question 7 (a) level-3 interrupt ^ 183 Question 7 (b) level-6 interrupt ^ 191 Figure 8-11 last line should finish like this: !lds & !as ; ^ 195 Figure 8-15 MAX232 pinout errors: T1O = pin 14 (not pin 2) R1I = pin 13 (not pin 14) 68681 pinout errors: D0-D7 pinouts backwards (pin 19 = D7, pin 22 = D6, etc.) 267 Op-mode field 000 001 010 <ea> + <Dn> ---> <Dn> ^^^^^^^^^^^^^^^^^^^^^ 100 101 110 <Dn> + <ea> ---> <ea> ^^^^^^^^^^^^^^^^^^^^^ 368 MOVE Byte Destination EA sub-fields are Register Mode ^^^^^^^^^^^^^^ 408 Table E-3 Trap #3, Entry condition, add D1 = buffer size (including (CR and NULL byte) 409 Table E-4, ISHEX $0009B2 ^ 553 Question 11 17 ^^ 555 Question 11 Answer should read, "Cannot use PC-relative addressing as a destination effective address." 555 Question 31 MOVE D0,8(A7) A7 = $00122C ^^^^^^^ 556 Question 7 Correct answers are: (a) $001F30 (b) $001F00, $001FED (c) $004800, $004827 (d) $001F92 557/8 Question 5 Oops! This one's in bad shape. The problem arises from the following two errors in the program's timing: 8 00008000 207C0000 ADD3 MOVEA.L #NUMBERS,A0 ;n1 = 12 (3) ^ 12 0000800E 5341 SUBQ #1,D1 ;n5 = 4 (1) ^ With these changes, the correct answers are: (a) 13.0 microseconds (b) 11.375 microseconds (c) tEXE = tC x (64 + COUNT x 22) (d) tEXE = 1/8 x (64 + 1,000 x 22) = 2,758 microseconds = 2.758 ms 561 Question 13 Stack Frame should be: 8014 0000 2710 3080 9001 0000 0005 562 Question 1 (b) Worst case = 2,666 ns ^^^^^ Notes: Best... 10 x 83.3 = 833 ^^^^ ^ Worst... n = 32... 32 x 83.3 = 2,666 ^^ ^^^^ ^^^^^ 562 Question 3 16K block between 4000 and 7FFF should be labeled "ROM" Finally, the OVERBAR problem! Some early -- and defective -- copies of The 68000 Microprocessor textbook have surfaced. Check page 15, as an example. Near the middle of the page, in the right hand column, is the Boolean equation for an 8-input NAND gate. Of course, there should be an overbar above the right-hand side of the equation. If missing, this is a defective printing, and you never should have received the copy you now have in your hands. Please contact Prentice Hall or the store where you purchased the book and demand that it be replaced. I would also appreciate hearing about it if you have received a defective copy of the book. Please send email to smackenzie@acm.org.