Skip to content

Duiccni/Lasm-v1.0.x

Repository files navigation

LASM v1.0.x

Lime Assembler This is a simple 32-bit x86 Assembler language written in Python 3.11.5. Its supports basic x86 instructions and some advanced commands. Its also has a lot of features that make it easy to use, such as:

  • Syntax highlighting
  • Code completion
  • Error checking
  • A built-in debugger

Note: I used Black Formatter for making code more Prettier

Lasm Code with Lasm-Syntax

image

image

Lasm has 3 main codes:

  • main.py (Main thread.)
  • variables.py (Variables, constants, colors and settings.)
  • functions.py (Basic functions like toInt(x) for converting string to int.)
  • instructions.py (Complex commands and instructions.)

Getting Started

To get started, you will need to install Python 3.6 or later. Once you have Python installed, you can clone the LASM repository from GitHub:

git clone https://github.com/Duiccni/Lasm-v1.0.x.git

When you have the code you can run it with python like:

python main.py -release <input-file.lasm> <output-file>

NOTE: Dont add output file extension to command.

Unlimited Thanks To

  • NASM (Netwide Assembler)
  • HxD (Software)