Skip to content

Comment on Show HN: Made a e-4917 emulator with a short tutorialparent

Comments

One thing that, I think, curious students will ask about: if you talk about two byte instructions and say Execute the instruction now loaded in the IS registry, the IS register should hold two bytes. The emulator doesn’t show them, though.

You either have two-byte instructions, and tell readers that the first byte can be 8 to 15, or you have single-byte ones that have a single argument. Either description can be fine, but mixing them isn’t ideal.

If you standardize that, I think you’ll also automatically tell readers how the CPU fetches that argument.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.