简体中文
8051/8052 Assembly Language Support
This extension provides 8051/8052 assembly language support for Visual Studio Code
Syntax Highlighting
- Support highlighting comments that start with a semicolon (
;)
- Support double quotation mark (
") string highlighting, which can distinguish escape characters
- Support highlighting numbers in various bases
- Hexadecimal does not distinguish between upper and lower case
- Binary numbers are case-insensitive and support segmentation with underscores (
_), i.e., 0b1010_0101
- The decimal system specifically avoids numbers ending with a dollar sign (
$), which is commonly used as a local jump label
- A single character enclosed in single quotation marks (
') is also treated as a number
- Support highlighting of 8051 assembly language mnemonics
- Support highlighting of commonly used basic built-in registers
- Only supports
A, ACC, AB, B, C, DPH, DPL, DPTR, PSW, SP, R0~R7 and AR0~AR7
- Support highlighting of common general-purpose assembly directives
- Supports data definitions of directives such as
.org, .db, .dw, .ds, .equ, .set, .end, .include, etc
- Support conditional compilation directives such as
.if....else....endif, etc
- Support macro definition directives such as
macro...endm, etc
- Supports repeated iterative directives such as
rept...endr, irp, irpc, etc.
- Support for highlighting SDCC proprietary assembly directives
- Support for highlighting Keil proprietary assembly directives
| |