Skip to content

Commit 9c862a6

Browse files
committed
Clarify CJALR operation order
Clarify that length violations are checked on the address after it has undergone invalid address conversion. Also fix a typo in the title. Fixes #9
1 parent 4b839b9 commit 9c862a6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/insns/cjalr_jalr_32bit.adoc

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
See <<JALR>>
77

88
[#JALR,reftext="JALR"]
9-
==== CJAL, JALR
9+
==== CJALR, JALR
1010

1111
Synopsis::
1212
Jump and link register
@@ -50,7 +50,7 @@ reported in the CAUSE field of <<mtval>> or <<stval>>:
5050
| Tag violation | | ✔ | `cs1` has tag set to 0
5151
| Seal violation | | ✔ | `cs1` is sealed and the immediate is not 0
5252
| Permission violation | | ✔ | `cs1` does not grant <<x_perm>>
53-
| Length violation | ✔ | ✔ | Minimum length instruction is not within the target capability's bounds
53+
| Length violation | ✔ | ✔ | Minimum length instruction is not within the target capability's bounds. This check uses the address after it has undergone xref:section_invalid_addr_conv[xrefstyle=short] but with the original bounds.
5454
|==============================================================================
5555

5656
include::pcrel_debug_warning.adoc[]

0 commit comments

Comments
 (0)