Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>Assembly ELF i386New to Visual Studio Code? Get it now.
Assembly ELF i386

Assembly ELF i386

BinaryBrew

|
126 installs
| (0) | Free
Enhanced syntax highlighting, snippets, and debugging for Assembly ELF i386.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Assembly ELF i386 Extension

Version VSCode Marketplace

A Visual Studio Code extension for elf_i386 assembly language, providing syntax highlighting, autocomplete, hover documentation, snippets, and more.


Features

1. Syntax Highlighting

  • Highlights assembly instructions, registers, directives, comments, strings, and numbers.
  • Example:
    section .data
        message db "Hello, World!", 0
    
    section .text
        global _start
    
    _start:
        mov eax, 4          ; sys_write
        mov ebx, 1          ; stdout
        mov ecx, message    ; pointer to message
        mov edx, 13         ; length of message
        int 0x80            ; interrupt
    

2. Autocomplete

  • Provides real-time suggestions for:
    • Instructions (mov, add, sub, etc.)
    • Registers (eax, ebx, ecx, etc.)
    • Directives (section, global, extern, etc.)
  • Context-aware suggestions (e.g., suggest registers after mov).

3. Hover Documentation

  • Displays detailed descriptions when hovering over instructions, registers, or directives.
  • Example:
    • Hovering over mov shows:
      **mov**
      
      Moves data between registers or memory.
      

4. Snippets

  • Predefined code snippets for common patterns:
    • Define a section: section
    • Declare a global symbol: global
    • Insert a mov instruction: mov

5. Linting

  • Detects common errors in assembly code (e.g., invalid instructions or undefined labels).

6. Boilerplate Generator

  • Includes a command to generate boilerplate assembly code:
    • Command: Generate Assembly Boilerplate.

Installation

From the VSCode Marketplace

  1. Open VSCode.
  2. Go to the Extensions view (Ctrl+Shift+X or Cmd+Shift+X on macOS).
  3. Search for "Assembly ELF i386".
  4. Click Install.

From Source

  1. Clone this repository:
    git clone https://github.com/your-repo/assembly-elf-i386.git
    cd assembly-elf-i386
    
  2. Install dependencies:
    npm install
    
  3. Compile the extension:
    npm run compile
    
  4. Press F5 to launch a new VSCode window with the extension loaded.

Usage

Syntax Highlighting

Open any .asm file, and the extension will automatically apply syntax highlighting.

Autocomplete

Start typing assembly instructions, registers, or directives, and suggestions will appear.

Hover Documentation

Hover over an instruction, register, or directive to see its description.

Snippets

Type one of the predefined prefixes (e.g., mov, section) to insert a snippet.

Generate Boilerplate

  1. Open the Command Palette (Ctrl+Shift+P or Cmd+Shift+P on macOS).
  2. Search for and select Generate Assembly Boilerplate.

Contributing

Contributions are welcome! If you'd like to contribute, please follow these steps:

  1. Fork the repository.
  2. Create a new branch (git checkout -b feature/your-feature).
  3. Commit your changes (git commit -m 'Add some feature').
  4. Push to the branch (git push origin feature/your-feature).
  5. Open a pull request.

License

This project is licensed under the MIT License.


Acknowledgments

  • Inspired by the need for better tooling for elf_i386 assembly development.
  • Built using the VSCode Extension API.

Contact

If you have any questions or feedback, feel free to reach out:

  • Email: dawdameet6338@gmail.com
  • GitHub: dawdameet
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft