Не видел у WCH документов по ассемблеру для CH32V. А в
"QingKeV4_Processor_Manual", RM и DS о нем точно ничего нет. Это же
стандартный ассемблер для RISC-V + немного от себя: The following instruction set extensions are supported by QingKe V2 series microprocessors.
RV32: 32-bit architecture, general-purpose register bit width of 32 bits
E: RV32I subset, only 16 general-purpose registers supported
C: Supports 16-bit compression instruction
XW: 16-bit compression instruction for self-extending byte and half-word operations
m: hardware multiplication, i.e., Zmmul extension.
Note: 1. To further improve code density, extend the XW subset by adding the following compression directives
c.lbu/c.lhu/c.sb/c.sh/c.lbusp/ c.lhusp/c.sbsp/c.shsp, use based on the MRS compiler or the toolchain it provides.
2. The m-extension in V2C only includes hardware multiplication instructions, i.e. Zmmul extension, the use
of which needs to be based on the MRS compiler or the toolchain it provides.
off. Что-то сегодня их сайт недоступен.