Skip to content

kostyabet/VSCode-FASM-ext

Repository files navigation

FASM ext - FlatASM language extension

Static Badge Static Badge

Extension for VSCode for more convenient programming on FlatASM.

Features

  • Code highlighting:

    • Extension highlight fasm:
      • macros proc;
      • instractions (mov, add, sub, ...);
      • registers (eax, ebx, edi, ...);
      • strings ('str', "str", ...);
      • numbers (0x123, 010101b, ...);
      • types of data (db, dd, dw, ...).



  • Build & Run / Debug:

    • Build and Run:
      • Build and run programm.
        Has been running by using F5 or press on the button .
        Compiling file it is file which be active at the moment when configuration file creates.
        *.exe file created on compiling file. This file can be changed in tasks.json.
    • Debug:
      • Run Olly Dbg by use active *.exe file.
        Has been running by using Ctrl + F5.

Setup

Setup your config in file settings.json & task.json in folder .vscode:

For assembler

In file settings.json:

{
    "fasm.assemblerPath": "c:\\Users\\divmone\\Documents\\dev\\VSCode-FASM-ext\\bin\\fasm",
    "fasm.includePath": "c:\\Users\\divmone\\Documents\\dev\\VSCode-FASM-ext\\bin\\fasm\\include"
}

assemblerPath - path to the fasm folder
includePath - path to the include folder in fasm compiller

For debugger

In file task.json:

{
    ...
    "activeFilePath": "c:\\Users\\divmone\\Downloads\\fasm\\EXAMPLES\\HELLO\\HELLO.ASM",
    "executionFilePath": "c:\\Users\\divmone\\Downloads\\fasm\\EXAMPLES\\HELLO\\HELLO.exe",
    "debuggerFilePath": ""
}

activeFilePath - path to the main file from which compiler start building
executionFilePath - path where you want to store *.exe file
debuggerFilePath - path to the olly.dbg

Source code

GitHub repo

License

MIT

Support

Press star on our GitHub repo please!

About

FASM language extension for Visual Studio Code

Topics

Resources

License

Stars

Watchers

Forks

Contributors