C2000 Assembly
Language support for TI TMS320C28x (C2000) assembly in Visual Studio Code.
Features
Syntax highlighting
Full TextMate grammar for .asm files: instructions, assembler directives, registers, labels, immediates, @ addressing, numbers, operators, ; comments and strings.
IntelliSense completion
Context-aware completion with documentation:
- 291 C28x instructions — start typing a mnemonic (e.g.
MOV, ADD, MPY) to get the full syntax and a description of the instruction.
- 47 assembler directives — type
. to complete directives such as .sect, .global, .byte with their syntax.
Snippets
Ready-made snippets for common instruction patterns (e.g. MOVL ACC, MOVL XAR, MOVW DP, ADDL ACC) with tab stops for operands.
Go to Definition
Jump to the definition of any label (name:) within the current file — F12 or Ctrl+Click on a label reference.
Requirements
- Visual Studio Code 1.85.0 or newer
- Files must use the
.asm extension (language id: c2000-asm)
Extension Settings
This extension does not add any settings.
Known Issues
- Go to Definition works within the current file only (no cross-file label resolution).
Release Notes
0.1.0
Initial release:
- C28x syntax highlighting
- Instruction and directive completion (based on the TMS320C28x instruction set)
- Instruction snippets
- Label go-to-definition