Made-up a tiny imaginary computer with 16 registers, 256 addressable rom & memory addresses. The cpu understands 16 made-up opcodes, and there's even a little assembler for it. All within 400 LOCs.
pict: the assembler, the step debugger, and zeropage.
git.sr.ht/~rabbits/gyo
Conversation
Replying to
Implemented IO to the little vm project, and managed to have it write "Hello".
wiki.xxiivv.com/site/gyo.html
1
1
25
sel #03 ... select register 3, oha that's a really tiny instruction set, indeed :)
1
1
You’re unable to view this Tweet because this account owner limits who can view their Tweets. Learn more
Replying to
It has a weird mechanic where the registers are polled with a variable since there is only a single addressing mode, I was wondering if that was possible on hardware. It's not something I'm familiar with much.
1


