diff --git a/ChangeLog b/ChangeLog index 0d6007f3a..16ba88d56 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2013-02-20 Paulo Andrade + + * doc/body.texi: Fool proof validate the examples of what + an assembly-language programmer would write and correct the + wrong sparc example. + 2013-02-19 Paulo Andrade * doc/body.texi: Add back the SPARC code generation example. diff --git a/doc/body.texi b/doc/body.texi index 7d3099d75..c9c3b29d7 100644 --- a/doc/body.texi +++ b/doc/body.texi @@ -718,8 +718,8 @@ programmer would write): @item SPARC @example save %sp, -112, %sp - mov %i0, %g2 ret - inc %g2 inc %i0 + mov %i0, %g2 retl + inc %g2 inc %o0 mov %g2, %i0 restore retl