Skip to content

Commit

Permalink
Update section on semihosting parameters to cover RV128I
Browse files Browse the repository at this point in the history
Closes: #18
Signed-off-by: Anup Patel <[email protected]>
  • Loading branch information
avpatel committed Jul 8, 2024
1 parent dc0a214 commit 0b86d91
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions src/binary-interface.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -52,15 +52,15 @@ sys_semihost:
The type of semihosting operation and it's parameter are specified using
general purpose registers. The <<register>> shows the specific registers
that are used, and the size of the fields in the data block, which depend
on whether the caller is 32-bit or 64-bit.
on whether the caller is 32-bit or 64-bit or 128-bit.

.RISC-V Registers and field size
[#register]
[cols="3,^1,^1"]
[cols="3,^1,^1,^1"]
|===
| | 32-bit | 64-bit
| OPERATION NUMBER REGISTER | A0 | A0
| PARAMETER REGISTER | A1 | A1
| RETURN REGISTER | A0 | A0
| Data block field size | 32 bits| 64 bits
| | 32-bit | 64-bit | 128-bit
| OPERATION NUMBER REGISTER | A0 | A0 | A0
| PARAMETER REGISTER | A1 | A1 | A1
| RETURN REGISTER | A0 | A0 | A0
| Data block field size | 32 bits| 64 bits| 128 bits
|===

0 comments on commit 0b86d91

Please sign in to comment.