~charles/awk-riscv

ref: ce30c930be0f157a14442b738993e54d8d0dc52f awk-riscv/riscv.awk -rw-r--r-- 40.2 KiB
remove reference to incorrect J type encoding

It turns out I was actually using the same encoding as RARs after all.
Also, as described in the relevant issue on the RARs repo, it was the
correct style all along.
get fibo test case working
assemble lw and sw
assemble branches
implement label resolution
got J types working, I think?

Either I am very confused, or RARS has at least one problem with it's J
type encoding, which means that riscv.awk disagrees with it (which also
breaks the relevant test cases). I have reported the issue upstream
here: https://github.com/TheThirdOne/rars/issues/89
assemble I, R, and shift types
start sketching out the assembler
implement dimp directive
implement lw and sw
add conditional branch instructions
implement unconditional jumps
implement add slt sltu and or xor sll srl sub sra
add lui and auipc
implement shifts
implement andi, ori, xori, and sltiu
implement and test slti
begin work on the simulator proper
Next