ВходНаше всё Теги codebook 无线电组件 Поиск Опросы Закон Суббота
22 февраля
1498208 Топик полностью
petrd (14.02.2025 11:29, просмотров: 87) ответил vpv.vpv на Скажите, есть ли где описание ассемблера для CH32V003 / CH32X035 (QingKeV2/V4)? Гуглится что-то типа "QingKeV4_Processor_Manual.PDF", но на сайте WCH даёт или китайские иероглифы, или 404.
Не видел у 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. Что-то сегодня их сайт недоступен.