Packages icon indicating copy to clipboard operation
Packages copied to clipboard

[C/C++] look like the C/C++ not support __asm / _asm / asm

Open jingyuexing opened this issue 4 years ago • 3 comments

图片

jingyuexing avatar Aug 07 '21 18:08 jingyuexing

ST doesn't ship with any assambler syntax, which could be embedded into C/C++.

To support that, such a syntax would need to be added first.

Another question then was, which assembler dialect to support. Assuming C/C++ to be used on all available platforms, it would mean to support x86 / x64 / arm / riscv and probably more.

deathaxe avatar Aug 12 '21 09:08 deathaxe

@deathaxe, maybe we can just highlight _asm and __asm and everything enclosed into {} after that

dpronin avatar Aug 15 '21 18:08 dpronin

ST doesn't ship with any assambler syntax, which could be embedded into C/C++.

To support that, such a syntax would need to be added first.

Another question then was, which assembler dialect to support. Assuming C/C++ to be used on all available platforms, it would mean to support x86 / x64 / arm / riscv and probably more.

I mean this does not support inline assembly syntax highlighting,not just __asm _asm asm

jingyuexing avatar Sep 06 '21 03:09 jingyuexing