ZaneDubya / YCPU

An imaginary 16-bit cpu, with a complete specification, emulator, assembler, and disassembler, in C#.
24 stars 3 forks source link

Emulator's BitPatternALU doesn't quite match spec #17

Open PrincessRiikka opened 4 years ago

PrincessRiikka commented 4 years ago

RegControl cr = (RegControl)((operand & 0x0700) >> 8); Appears to be reading bits A98 (rrE per spec). Should have (operand & 0x0E00) Apparently I'm writing an issue rather than a PR just to keep my cool kid rep as someone who's never written any C# :stuck_out_tongue: