Skip to content

ntqltx/asmple

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

asmple

A tiny assembly-style language and interpreter.
Created only for fun and learning. Contributions are welcome!

Overview

  • Easy set of registers (let reg0 = ...)
  • Simple integer operations (add, sub, mul, div, mod)
  • Comparison + conditional jumps (cmp, je, jne, jl, jg, jle, jge)
  • Labels and print function

Test Run

  • Tests samples: tests/lang/
  • To run the language, use: ./run.sh

Requirements

  • A modern C++ compiler (Clang or GCC) with C++17 or newer
  • Standard POSIX shell environment (for run.sh)

Platforms

  • Supported: macOS, Linux
  • Not yet supported: Windows

If you add Windows support, please open a PR.

About

The Asmple Programming Language

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published