Home page
Download
Documentation
Version History
Comments


Screen shot of SimHYMN v1.0d, released February 2004

SimHYMN simulates a simple 8-instruction CPU and 32-byte memory designed for learning about how a CPU executes a program. The CPU contains three registers: IR (instruction register), PC (program counter), and AC (accumulator). The eight instructions are as follows.

code
000HALTnothing happens
001JUMPPC := data
010JZERif AC = 0 then PC := data else PC := PC + 1
011JPOSif AC > 0 then PC := data else PC := PC + 1
100LOADAC := M[data]; PC := PC + 1
101STORAC := M[data]; PC := PC + 1
110ADDAC := AC + M[data]; PC := PC + 1
111SUBAC := AC - M[data]; PC := PC + 1

SimHYMN should run on any platform having Java 1.4. The program is free for your personal use, though you cannot distribute it to others.

Download SimHYMN!

If you enjoy SimHYMN, you might also enjoy Logisim.