Miscellany
Hello everyone! Let’s keep this quick because I have much tedium to get through.
What the Hecc is JR?!
I finished most of instructions, so I needed to figure out which ones I forgot. I was looking at the opcode table and I realised I had no idea what JR or DAA did, so I had to figure out what they did. JR is just a relative jump rather than an absolute one, and DAA does some number formatting after an arithmetic op for better display.
Let’s Table this Discussion
Since the instructions that I can implement right now (very nearly all of them, except for stop and interrupts, etc.), it’s been time to update the Instruction::from_byte() fn with all the new instructions. I’m still doing this, and it is purely looking at the opcode table, entering something, looking at the opcode table again, looking at what I wrote, and repeating this over and over and over again. I’m not even done with this!
Anyway, enjoy a hashmap meme that doesn’t apply to me b/c I am using a match
Comments 0
No comments yet. Be the first!
Sign in to join the conversation.