logoalt Hacker News

rwmj10/11/20242 repliesview on HN

As I understand it, this compiles down to assembly instructions. What then assembles it to machine code? The reason I'm asking is I wanted to find out if the compiler/assembler supports compressed instructions (which are supported by the RP RISC-V core).

Edit: Yes it does support the compressed extension, although the page calls them "compact" instructions.


Replies

steeleduncan10/11/2024

In the article there is a link to an earlier post with a RISC-V assembler (I think written by the same author), which generates the actual machine code

johnsondavies10/11/2024

Thanks - corrected "compact" to "compressed".