Moving stuff for project 1 into repo.
Commenting disassembler.c. Laying out my game plan and describing what all is happening in main().
More comments. I'm trying to explain and figure out the little endian big endian differences.
Hell I still don't get it. Gonna start from scratch.
Calling it a night. I think I've got it worked out for the most part. I might not have the cleverest bit twiddling hacks, but I'm on the right track at least.
Got the jump instruction working.
P.S., I'm working on this from Corpus Christi right now. Happy birthday, Dad\!
Huh. Forgot that shifting and multiplying by 2^n are identical. That makes things easier.
Cleaning up some debugging printf calls. Looks like I am on the right track now. Just going to start figuring out the rs, rt, rd, etc now.
Correcting the older comments in main. Removing debugging printf calls in main.
Making progress on correctly parsing the rd rt rs, etc bits.
Done fleshing out R-Type and J-Type. Haven't checked yet to see if they are all right. I'm gonna blitz through the remaining I-Type and then see how much work I have ahead of me to get it outputting exactly what's in the .dis files.
Done fleshing out the printf calls. Time to see how much my output differs with the .dis files.
I'm on the right track. Still having some trouble with the branching instructions though.
And BOOM goes the dynamite. I've got ALL of the testN.mips dissassemblies matching the expected testN.dis files. This hacking session brought to you LIVE at 0230 in the morning from a glowing laptop screen in an otherwise dark hotel room where everyone else is sleeping. THANK YOU AND GOODNIGHT.
Merging project one into master. Looks like it's working flawlessly.