Share your repls and programming experiences

← Back to all posts
The Little Man Computer (runs assembly - kinda)
MarcusWeinberger (678)

Have you ever heard of the Little Man Computer? Well this is it, rebuilt in python. I'm pretty sure everything works well, however the only thing I need to fix are overflows, and I gotta make sure they work normally as opposed to the way mine do where it just cuts off the last digit.

I've written a couple of example programs and added an option to write your own that may or not work. The instruction set can be found here.

Oh, also my dat command doesn't work as it should but I only just realized as I wrote this and can't fix it now but the only difference is that you have to initialize a variable with a value, you can't have a blank dat command.

That's all, enjoy!