I will be writing a Forth compiler for RISC-V. Its kind of a hobby of mine but a useful one, it allows me to develop quality software and never have to go anywhere near any GNU development tools (horrible tools ick)
.
Stage one is to write a RISC-V assembler (in forth using an already existing forth compiler of mine). The instruction set is so tiny I should be able to do the entire assembler in a few short hours but nope, we have a major problem here with documentation from the RISC-V consortium.
Why is there absolutely no documentation giving the opcode encodings for ***ANY*** opcode? Yes.. the ISA documentation shows the opcode format for each opcode, it does NOT give the encoding... WNHY?????????
One clean table stating the opcode mnemonic its opcode type, its bit-field format, the binary content of each bit-field and a description of what said opcode does. Why is this so difficult to produce?