Skip to content

Commit

Permalink
Fix sw instruction assembly in Appendix A.2
Browse files Browse the repository at this point in the history
`sw 0x400(zero), <gpr>` has incorrect assembly syntax, source register should come first.

Signed-off-by: tienntr <[email protected]>
  • Loading branch information
tienntr authored Aug 13, 2024
1 parent bba8750 commit 5a1aee4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion implementations.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ debugger wants it to execute the Program Buffer or perform a resume.

To execute an abstract command, the DM first populates some internal
words of program buffer according to {dm-command}. When {accessregister-transfer} is set, the DM populates
these words with `lw <gpr>, 0x400(zero)` or `sw 0x400(zero), <gpr>`. 64-
these words with `lw <gpr>, 0x400(zero)` or `sw <gpr>, 0x400(zero)`. 64-
and 128-bit accesses use `ld`/`sd` and `lq`/`sq` respectively. If {accessregister-transfer} is not
set, the DM populates these instructions as `nop's`. If {accessregister-postexec} is set, execution
continues to the debugger-controlled Program Buffer, otherwise the DM
Expand Down

0 comments on commit 5a1aee4

Please sign in to comment.