HNHacker News
TopNewBestAskShowJobs

anchovieshat

80 karma · joined January 9, 2017

submissionscomments
anchovieshat··on Show HN: Q8, an In-Browser VM for Learning and Visualizing Bytecode Programming
This is very cool, zenojevski! Good luck with your VM!
anchovieshat··on Show HN: Q8, an In-Browser VM for Learning and Visualizing Bytecode Programming
I believe I've corrected the backspace bug with a little help from a pull request, preventing default behavior and patching it through the same route the delete key follows. My machine doesn't have a backspace key, so I missed it during testing. Thanks for the heads up!
anchovieshat··on Show HN: Q8, an In-Browser VM for Learning and Visualizing Bytecode Programming
Wow, I'm not sure how I missed that. Thanks! I've pushed the fix up, and it should be live shortly.
anchovieshat··on Show HN: Q8, an In-Browser VM for Learning and Visualizing Bytecode Programming
While it isn't quite the same emulated machine, and therefore has a different instruction set, it does tread similar ground to Nand2Tetris's project 4, however it lacks an assembler, so you'd have to input directly in byte sequences.
anchovieshat··on Show HN: Q8, an In-Browser VM for Learning and Visualizing Bytecode Programming
On the page with the editable grid, https://anchovieshat.github.io/Q8/q8.html there's a table that maps numbers to instructions, and gives a brief description. It wraps below the grid to better support smaller screens. If you have a larger screen, you can expand the browser window, or if not, scroll down the page, and it should all be there for you.

In addition, once you have filled in the boxes a little, you can step through the code and the blue box under the grid will give you another, very brief bit on the instruction that your program counter is on.

Thanks for asking!

anchovieshat··on Show HN: Q8, an In-Browser VM for Learning and Visualizing Bytecode Programming
Hey, there's a lot you can learn from Q8, but if you want to look at something deeper, you might want to look into x86 or ARM assembly.

https://ocw.mit.edu/courses/electrical-engineering-and-compu...

https://www.cl.cam.ac.uk/projects/raspberrypi/tutorials/os/

http://opensecuritytraining.info/IntroX86.html

anchovieshat··on Show HN: Q8, an In-Browser VM for Learning and Visualizing Bytecode Programming
[I'm the author] Q8 is a little tool I started as an experiment to visualize low level code as it manipulates raw data in memory, but has evolved into a full-fledged experimental environment for learning about low level programming. I'll be around to answer any questions. Thanks for looking at my project!

If you like this, you can catch my other projects at http://pentaquine.com. If you happen to be hiring I'd love to hear from you. I've recently moved to the West Coast and am currently looking for a new job.