Skip to content

Commit

Permalink
Improve table: Compressed instruction formats (#1696)
Browse files Browse the repository at this point in the history
Table "Compressed 16-bit RVC instruction formats" header indicating the bits corresponding to each column only aligns properly with the first row (CR format), but doesn't reflect the boundaries of other rows (for example, funct3 or rs1'), making it hard to read.

Signed-off-by: cousteau <[email protected]>
  • Loading branch information
cousteaulecommandant authored Oct 28, 2024
1 parent 084b690 commit e24a456
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/c-st-ext.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@ encoding space for other instructions requiring fewer operand bits.
|
[float="left",align="left",cols="1,1,1,1,1,1,1",options="noheader"]
!===
2+^!15 14 13 12 2+^!11 10 9 8 7 2+^!6 5 4 3 2 ^!1 0
^!15 14 13 ^!12 ^!11 10 ^!9 8 7 ^!6 5 ^!4 3 2 ^!1 0
2+^!funct4 2+^!rd/rs1 2+^!rs2 ^! op
^!funct3 ^!imm 2+^!rd/rs1 2+^!imm ^! op
^!funct3 3+^!imm 2+^!rs2 ^! op
Expand Down

0 comments on commit e24a456

Please sign in to comment.