Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>8052 AssemblyNew to Visual Studio Code? Get it now.
8052 Assembly

8052 Assembly

TechQI

|
1 install
| (0) | Free
Syntax highlighting and intelligence for MCS-51/8051/8052 assembly language
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

简体中文

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
    • Including segments, symbol declaration directives such as .module, .area, .globl, etc
    • Flow control extension directives such as iff, ift, iftf, iftf, ifxx, etc
    • All directives are referenced from https://svn.code.sf.net/p/sdcc/code/trunk/sdcc/sdas/doc/asmlnk.txt and will not be listed individually
  • Support for highlighting Keil proprietary assembly directives
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft