Home > Pretty Good Computer

Pretty Good Computer

Instructions

What is this?

Pretty Good Computer is an implementation of John Graham-Cumming's description of a Z machine. This particular implementation differs because it only has 16 memory registers (because I didn't want to make an infinitely long table - suggestions welcome on improving the memory register ui).

Example Program

This program initializes memory locations 0 and 1, then sets memory location 0 to 2. It then sets memory location 1 equal to the value of memory location 0.

Try changing the value of memory location 0

z0
z1
i0
i0
i1
j1!0)5

Challeges

Github Project