toying with the idea of a fantasy cpu / esoteric language. i don't usually wind up implementing these things, but they usually make me appreciate more how non-esoteric systems work.
actually implemented some basic instructions and a basic disassembler. I wrote a loop that adds 1 to the accumulator until it overflows. yay? still a bunch left to design, mostly memory access stuff.
overhauled the existing instructions and wrote a crude assembler in python. still gotta figure out how i'm gonna handle 16-bit addresses (jumps, loads and stores). due to a self-imposed restriction i'm trying for fun, i can barely even handle 8-bit immediates right now
fgsdfgsdfgsd, if i made everything 16-bit this would be a breeze… but i guess the challenge is part of the fun
currently, it's quite similar to a 6502 a la NES, but a lot of stuff is still up in the air.