You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
switch (this.Inst) {
/********************* Binary Op *********************/
case Instruction.ADC: // NVZC
case Instruction.AND: // NZ
case Instruction.EOR: // NZ
case Instruction.SBC: // NVZC
throw new NotImplementedException("TODO: Implement Binary Op");
/********************* Shift/Rotate *********************/
case Instruction.ASL: // NZC
case Instruction.LSR: // NZC
case Instruction.ORA: // NZ
case Instruction.ROL: // NZC
case Instruction.ROR: // NZC
throw new NotImplementedException("TODO: Implement Shift/Rotate");
/********************* Inc/Dec *********************/
case Instruction.DEC: // NZ
case Instruction.DEX: // NZ
case Instruction.DEY: // NZ
case Instruction.INC: // NZ
case Instruction.INX: // NZ
case Instruction.INY: // NZ
throw new NotImplementedException("TODO: Implement Inc/Dec");
/********************* Clear *********************/
case Instruction.CLC: // C
case Instruction.CLD: // D
case Instruction.CLI: // I
case Instruction.CLV: // V
case Instruction.REP: // NVMXDIZC
throw new NotImplementedException("TODO: Implement Clear");
/********************* Set *********************/
case Instruction.SEC: // C
case Instruction.SED: // D
case Instruction.SEI: // I
case Instruction.SEP: // NVMXDIZC
throw new NotImplementedException("TODO: Implement Set");
/********************* Compare *********************/
case Instruction.CMP: // NZC
case Instruction.CPX: // NZC
case Instruction.CPY: // NZC
throw new NotImplementedException("TODO: Implement Compare");
/********************* Branch *********************/
case Instruction.BCC:
case Instruction.BCS:
case Instruction.BEQ:
case Instruction.BMI:
case Instruction.BNE:
case Instruction.BPL:
case Instruction.BRL:
case Instruction.BVC:
case Instruction.BVS:
throw new NotImplementedException("TODO: Implement Branch");
/********************* Jump/Return *********************/
case Instruction.JMP:
case Instruction.JSR:
case Instruction.RTI:
case Instruction.RTL:
case Instruction.RTS:
throw new NotImplementedException("TODO: Implement Jump/Return");
/********************* Push *********************/
case Instruction.PEA:
case Instruction.PEI:
case Instruction.PER:
case Instruction.PHA:
case Instruction.PHB:
case Instruction.PHK:
case Instruction.PHP:
case Instruction.PHX:
case Instruction.PHY:
throw new NotImplementedException("TODO: Implement Push");
/********************* Pop *********************/
case Instruction.PLA: // NZ
case Instruction.PLB: // NZ
case Instruction.PLD: // NZ
case Instruction.PLP: // NVMXDIZC
case Instruction.PLX: // NZ
case Instruction.PLY: // NZ
throw new NotImplementedException("TODO: Implement Pop");
/********************* Other *********************/
case Instruction.BIT: // NVZ
case Instruction.BRK: // DI
case Instruction.MVN:
case Instruction.MVP:
case Instruction.NOP:
case Instruction.STP:
case Instruction.TRB: // Z
case Instruction.TSB: // Z
case Instruction.WAI:
case Instruction.WDM:
case Instruction.XBA: // NZ
case Instruction.XCE: // MXCE
throw new NotImplementedException("TODO: Implement Other");
/********************* Transfer *********************/
case Instruction.TAX: // NZ
case Instruction.TAY: // NZ
case Instruction.TCD: // NZ
case Instruction.TCS: // NZ
case Instruction.TDC: // NZ
case Instruction.TSC: // NZ
case Instruction.TSX: // NZ
case Instruction.TXA: // NZ
case Instruction.TXS:
case Instruction.TXY: // NZ
case Instruction.TYA: // NZ
case Instruction.TYX: // NZ
throw new NotImplementedException("TODO: Implement Transfer");
/********************* Load *********************/
case Instruction.LDA: { // NZ
// 取得した値をA regに読み込み
var srcData = read();
cpu.AConsideringMemoryReg = srcData;
6d54274684493d7ffffd741564f6aff2130ed3df
The text was updated successfully, but these errors were encountered:
Implement Shift/Rotate");
blaze-snes/BlazeSnes.Core/Cpu/OpCode.cs
Line 253 in 1f976b7
6d54274684493d7ffffd741564f6aff2130ed3df
The text was updated successfully, but these errors were encountered: