No description
Find a file
2021-09-19 15:37:13 +02:00
src refactoring 2021-09-19 15:37:13 +02:00
.gitignore inital commit 2021-09-17 14:13:16 +02:00
Cargo.lock version 1.3.0 2021-09-19 00:05:48 +02:00
Cargo.toml version 1.3.0 2021-09-19 00:05:48 +02:00
LICENSE Create LICENSE 2021-09-17 15:47:22 +02:00
README.md added comment support 2021-09-19 14:23:28 +02:00
test.m8 refactoring 2021-09-19 15:37:13 +02:00

m8db

Debugger and interpreter for the M8 pseudo-assembly language. Inspired by gdb or lldb

More infos: https://github.com/ah1m1/M8NI

Usage: $ ./m8db (filename)

Instructions:

  • INC r
  • DEC r
  • JUMP label
  • JUMP line
  • STOP
  • IS_ZERO r label
  • IS_ZERO r line
  • .labelname

# anything is a comment

Where r is a register number, line is a line number and label is a label name.
IS_ZERO jumps to label if r is zero