Skip to content

Commit

Permalink
doc: R13 is stack pointer on ARM, not 386
Browse files Browse the repository at this point in the history
Fix typo.

TBR=rsc

Change-Id: I85d1b46744a9a4524e7949e452cdebb53afe0740
Reviewed-on: https://go-review.googlesource.com/11959
Reviewed-by: Rob Pike <[email protected]>
  • Loading branch information
robpike committed Jul 9, 2015
1 parent e71276c commit 2e6ed61
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/go1.5.html
Original file line number Diff line number Diff line change
Expand Up @@ -360,7 +360,7 @@ <h3 id="assembler">Assembler</h3>
for a numbered register,
such as <code>R13</code> for the stack pointer and
<code>R15</code> for the hardware program counter
on x86,
on ARM,
a reference to such a register that does not include a symbol
is now illegal.
For example, <code>SP</code> and <code>4(SP)</code> are
Expand Down

0 comments on commit 2e6ed61

Please sign in to comment.