RISC-V Toolchain Usage
Assembler and Disassembler
addi x1, x0, 0x1 # I-Imm
sw x1, 2(x0) # S-Imm
beq x1, x0, 0x4 # B-Imm
auipc x1, 0x1000 # U-Imm
jal x1, 0x8 # J-Immriscv64-unknown-elf-as -march=rv32i test.asm -o test.outriscv64-unknown-elf-objdump -d test.outLast updated