Skip to content

Commit

Permalink
Fix contradictory wording in CSRR*
Browse files Browse the repository at this point in the history
  • Loading branch information
andresag01 authored and arichardson committed Feb 14, 2024
1 parent 3454c24 commit 1969ae0
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/insns/csrr_32bit.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -52,11 +52,11 @@ These are standard RISC-V CSR instructions with extended functionality for
accessing CLEN-wide CSRs, such as <<mtvec>>/<<mtvecc>>, which can be
accessed through either the RISC-V address or the capability address alias.
+
Unlike <<CSRRW>>, these instructions only update the address field when writing
capability CSRs regardless of the CSR's alias used. The final address to write
to the capability CSR is determined as defined by RISC-V for these
instructions. The metadata and tag are updated as defined in
xref:extended_CSR_writing[xrefstyle=short].
Unlike <<CSRRW>>, these instructions only update the address field and the tag
as defined in xref:extended_CSR_writing[xrefstyle=short] when writing
capability CSRs regardless of the CSR alias used. The final address to
write to the capability CSR is determined as defined by RISC-V for these
instructions.
+
See xref:aliased_CSRs[xrefstyle=short] for a list of CLEN-wide CSRs and
xref:extended_CSR_writing[xrefstyle=short] for the action taken on writing an XLEN-wide value to each one.
Expand Down

0 comments on commit 1969ae0

Please sign in to comment.