diff --git a/specification/ch_4.xml b/specification/ch_4.xml
index 10f8603..8427354 100644
--- a/specification/ch_4.xml
+++ b/specification/ch_4.xml
@@ -1084,9 +1084,9 @@ bctr
mtlr r0
# Compute .plt section index from entry point address in r12
# .plt section index is placed into r0 as argument to the resolver
- sub r0,r12,r11
- subi r0,r0,res_0-1b
- srdi r0,r0,2
+ sub r12,r12,r11
+ subi r12,r12,res_0-1b
+ srdi r0,r12,2
# Load address of the first byte of the PLT
ld r12,PLToffset-1b(r11)
add r11,r12,r11