A mini OS-Simulator that can run programs built in a Custom Language. Archived as of December 6, 2021.
GD
Get DataPD
Print DataLR
Load RegisterSR
Store RegisterCR
Compare RegisterBT
Transfer to LineH
Halt
The AMJ<batch-num><instr-count><data-count>
is simply to specify the number of lines and start of program
Put these in Input.txt and run
$AMJ000100030001
GD10
PD10
H
$DTA
Hello
$END0001
Prints Hello
$AMJ000200030001
GD10
LR12
SR15
PD10
H
$DTA
I LIKE THIS PEN OF
$END0002
Should Print "I LIKE THIS PEN OF HIS"
$AMJ000300120001
GD20
PD20
GD30
PD30
GD40
GD50
LR20
CR30
BT11
PD50
H
PD40
H
$DTA
VIIT
VIIT
IS SAME
IS NOT SAME
$END0003
Compares strings given at line 38 and 39 (in this case VIIT and VIIT)