riscv-opcodes
riscv-opcodes copied to clipboard
Allow c.nop Immediate=0
ISA manual section in 26.5.5. NOP Instruction: "C.NOP is only valid when imm=0; the code points with imm≠0 encode HINTs.". This suggests that 0 should be allowed for the c_imm6 of c.nop.