Skip to content

Commit

Permalink
Removed c.ld and c.sd from section about x0
Browse files Browse the repository at this point in the history
x0 is not addressable in those instructions
  • Loading branch information
christian-herber-nxp committed Jan 24, 2024
1 parent 379c4e3 commit 9c87dcf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions zilsd.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,9 @@ These instructions are mutually exclusive with Zcf.

=== Use of x0 as operand

LD and C.LD instructions with destination `x0` are processed as any other load, but the result is discarded entirely. Specifically, a load pair to `x0` does not cause `x1` to be written. For C.LDSP, usage of `x0` as the destination is reserved.
LD instructions with destination `x0` are processed as any other load, but the result is discarded entirely. Specifically, a load pair to `x0` does not cause `x1` to be written. For C.LDSP, usage of `x0` as the destination is reserved.

When using `x0` as `src` of SD, C.SD, or C.SDSP, the entire 64-bit operand is zero — i.e., register `x1` is not accessed.
When using `x0` as `src` of SD or C.SDSP, the entire 64-bit operand is zero — i.e., register `x1` is not accessed.

=== Fault Handling

Expand Down

0 comments on commit 9c87dcf

Please sign in to comment.