From 5c913860ed25b5a8c1ec6614354d9be6dc088334 Mon Sep 17 00:00:00 2001 From: Tien Tran Nguyen Date: Tue, 13 Aug 2024 10:08:00 +0000 Subject: [PATCH] Fix `sw` instruction assembly in Appendix A.2 `sw 0x400(zero), ` has incorrect assembly syntax, source register should come first. --- implementations.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/implementations.adoc b/implementations.adoc index fd14c2a6..cf1c56ae 100644 --- a/implementations.adoc +++ b/implementations.adoc @@ -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 , 0x400(zero)` or `sw 0x400(zero), `. 64- +these words with `lw , 0x400(zero)` or `sw , 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