On 02.08.2024 13:02, oleksii.kuroc...@gmail.com wrote: > There is something what we need is mentioned here: > https://github.com/riscv-non-isa/riscv-asm-manual/blob/main/riscv-asm.md#instruction-aliases > But the problem is that is "de-facto" standard, but not really standard > instruction. Anyway, I will update the patch to use (C0001073) instead > of ebreak.
Well, the official spec, in the C extension, mentions 0x0000 as "defined illegal instruction". Wouldn't using that work? It's going to be undefined no matter whether the C extension is actually implemented. Jan