bogus-amogus
Simple Virtual Machine and Assembly-Like Language written in Free Pascal
- Active · last change 7-24-2025
- ★ 1 on GitHub
README
Bogus-Amogus
Simple Virtual Machine and Assembly-Like Language written in Free Pascal.
Quick Start
- Compile everything with
fpc:
$ fpc bogus.pas
$ fpc amogus.pasor
$ ./all.sh- Compile
program.amogusto.bogus"executable":
$ ./amogus program.amogus output.bogus- Run
output.bogus"executable" with the Bogus Virtual Machine:
$ ./bogus output.bogusAmogus Language
Amogus Language is an assembly-like language.
So far there are only 4 instructions:
| Instruction | Params | Description |
|---|---|---|
load |
<register>, <number> |
Loads <number> into <register> |
add |
<register1>, <register2> |
Adds <register2> value to <register1> and saves to <register1> |
sub |
<register1>, <register2> |
Subtracts <register1> value from <register2> and saves to <register1> |
stop |
N/A | Ends the program |
TODO List
- [ ] - Add more instructions like clearing the register etc.
- [ ] - Memory stack and stack operations like push, pop
- [ ] - Labels, jumps, and perhaps sections?
- [ ] - Gui for Bogus Virtual Machine
License
This project is under the MIT License.

