You are on page 1of 2

Errors in The Definitive Guide to the ARM Cortex-M3

28-July-2008
Page xviii, second item in bulletin list:
Assembly code in generalized syntax; items inside ! must be re"laced by real register names:#
---
Page $% &near bottom o' t(e "age)
*(e +,-*./001 bit2# s(ould be +,-*.,/001 bit2#
---
Page 34 &near to" o' t(e "age)
*(e address 0x00000000 is used as t(e starting value 'or t(e 56P7#
*(is s(ould be
*(e address 0x00000000 is used to store t(e starting value 'or t(e 56P7#
---
Page 32
8ue to an editing error, t(e diagrams on t(is "age are incorrect7 *(e 'ollo9ing are t(e corrected
diagrams:
Main Program
...
; R0 = X, R1 = Y, R2 = Z
BL function1
; Back to main program
; R0 = X, R1 = Y, R2 = Z
... ; next instructions
function1
P!" #R0$R2% ; !tore R0, R1, R2 to stack
... ; &xecuting task 'R0, R1 an( R2
; cou)( *e c+ange(,
P-P #R0$R2% ; restore R0, R1, R2
BX LR ; Return
Subroutine
:igure $744 : 6tac; ,"eration basics: 5ulti"le .egister 6tac; ,"eration
Main Program
...
; R0 = X, R1 = Y, R2 = Z
BL function1
; Back to main program
; R0 = X, R1 = Y, R2 = Z
... ; next instructions
function1
P!" #R0$R2, LR% ; !a.e registers
; inc)u(ing )ink register
... ; &xecuting task 'R0, R1 an( R2
; cou)( *e c+ange(,
P-P #R0$R2, P/% ; Restore registers an(
; return
Subroutine
:igure $742 : 6tac; ,"eration basics: +ombining 6tac; P,P and .<*=.-
---
Page %8, table 372%, t(e or# s(ould be and#
6ymbol +ondition :lag
>< 6igned greater - set and ? set, or - clear and
t(an or e@ual ? clear &- AA ?)
---
Page B2 : Cit-band vs Cit Cang box
Cit-band commonly re'ers to driving DE, "ins under so't9are control to "rovide serial
communication 'unctions7# s(ould be
Cit-bang commonly re'ers to driving DE, "ins under so't9are control to "rovide serial
communication 'unctions7
---
Page 44%, table F74, im"rovement and correction in descri"tions
<xce"tion
number
<xce"tion ty"e Priority 8escri"tions
44 6?+all Programmable 6ystem 6ervice +all &or 6u"ervisor +all)
43 Pend6? Programmable Pendable re@uest 'or system services
---
Page 4G0, --$2 &0 H 20)# s(ould be --$2 &0x20)#
---
Page 488, t(e -# in t(e 'ollo9ing text s(ould be in su"erscri"t
.n I 2-J.m# s(ould be .n I 2
-
J.m#
---
Page 23G, ste" 3 o' reading a core register s(ould be
37 .ead t(e 8+.8. to get t(e register content7#
---
Page 2GF, table 4%72
*itle o' t(e table s(ould be +ortex-5$ 8e'ault .,5 *able ?alues#
---
Page $$2, table +-2
&-v42)# s(ould be &--42)#
---
Page $32
=nex"ected t(in line on to" o' table 87$0
---
Cac; cover
+ortex 5-$# s(ould be +ortex-5$#
0<nd o' 8ocument1

You might also like