Seems to serve a different purpose tough. visulator is supposed to help you learn how a CPU processes opcodes (at an abstract level) instead of looking at actual hardware wiring.
But I'm kinda missing the point. I think it would be very helpful to put some corresponding C (or pseudo-C) code. I understand assembly, but it would take me forever to parse out what this program does.
Also, a few design issues (on Windows 8, Chrome):
- The bold font in the registers is difficult to read.
- The dark colors (blue and maroon) in the register names are difficult to read.
- The columns of the register table don't quite line up with their headers.
Please file an issue on github, so I can track these problems and fix them.
As I mentioned I'm color blind and could use some styling help via a pull request :)
That's not a bad idea. Please file an issue on github.
Ideally with a sketch of how this would be laid out.
This project is still in its infancy and I'm very open to suggestions.
This is a nifty visualizer, I'm going to show it to my daughter who I've been teaching programming. We haven't broached registers and general CPU design yet, but this has inspired me to do so!
It's interesting that the example shows overflow, but doesn't show the flags register. I'm not a web dev generally, but I think I may fork this one to show it as it exists in the emulator, it's just not rendered.
This is pretty neat! It is still a work-in-progress though as the Github issue [1] notes. I'd love to be able to edit the disassembly and play with the visualization when its done.
Exactly this is just a start and I'm actively working on it.
Editing the assembly could be an option, but I also plan to allow users to load simple binaries into it.
This way you could edit the assembly, assemble it and load.
However please file an issue with feature suggestions on github so we can track what people want.
This is neat, but the registers on the right are painfully unreadable on my screen, with tiny text and contrasts either too dark or too bright in a way that makes my eyes glaze over them.
That was my first thought too - "here are some example instructions, moving the cursor around changes some registers... but I want to assemble a little program to try it out."
I think an "emulator" that doesn't let you run your own code in it is not an emulator. It's only an interesting visualisation.