Skip to content

Commit

Permalink
Clarify why to use progbuf to access FPRs/CSRs
Browse files Browse the repository at this point in the history
  • Loading branch information
rtwfroody committed Aug 23, 2024
1 parent 40f80ef commit 0eaa493
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions debugger_implementation.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -101,9 +101,9 @@ Write `mstatus` using abstract command:
[[deb:regprogbuf]]
===== Using Program Buffer

Abstract commands are used to exchange data with GPRs. Using this
mechanism, other registers can be accessed by moving their value
into/out of GPRs.
Abstract commands are only required to support GPR access. To access non-GPR
registers, the debugger can use the Program Buffer to move values to/from a GPR,
and then access the GPR value using an abstract command.

Write `mstatus` using program buffer:

Expand Down

0 comments on commit 0eaa493

Please sign in to comment.