Share your repls and programming experiences

← Back to all posts
Machine code programming + tutorial!
RyanYanko

This is an instruction set simulator (ISS), which can run machine-code binary instruction!
Anyone with some programming experience can (hopefully) follow this tutorial that explains how it all works, and how to code-it-yourself!

Voters
cuber1515
programmeruser
RyanYanko
Comments
hotnewtop
programmeruser

By the way, you should use actual hex numbers and some form of number encoding.

RyanYanko

@programmeruser is there a reason or is this just standard practice? I'm not formally educated on this and I figured most of it out on my own so I'm curious to hear what you think the right way is!

programmeruser

@RyanYanko most binary things are handled in hex, not just strings of 1s and 0s. And you need a number encoding system since some numbers can't fit in one or a few nunbers.

RyanYanko

Thanks for the tip, @programmeruser! I had noticed that opcode table usually used hex, but I liked binary. I'll try a hex version!