// instructions.h #pragma once #include"core.h" #include"6502.h" // Load and Store Instructions void LDA(Addressing); void LDX(Addressing); void LDY(Addressing); void STA(Addressing); void STX(Addressing); void STY(Addressing); // Arithmetic Instructions void ADC(Addressing); void SBC(Addressing); //Increment and Decrement Instructions void INC(Addressing); void INX(Addressing); void INY(Addressing); void DEC(Addressing); void DEX(Addressing); void DEY(Addressing); // Logical Instructions void AND(Addressing); void ORA(Addressing); void EOR(Addressing); // Jump, Branch, Compare, and Test Bits void JMP(Addressing); void BCC(Addressing); void BCS(Addressing); void BEQ(Addressing); void BNE(Addressing); void BMI(Addressing); void BPL(Addressing); void BVS(Addressing); void BVC(Addressing); void CMP(Addressing); void CPX(Addressing); void CPY(Addressing); void BIT(Addressing); // Shift and Rotate Instructions void ASL(Addressing); void LSR(Addressing); void ROL(Addressing); void ROR(Addressing); // Transfer Instructions void TAX(Addressing); void TAY(Addressing); void TXA(Addressing); void TYA(Addressing); // Stack Instructions void TSX(Addressing); void TXS(Addressing); void PHA(Addressing); void PHP(Addressing); void PLA(Addressing); void PLP(Addressing); // Subroutine Instructions void JSR(Addressing); void RTS(Addressing); void RTI(Addressing); // Set/Reset Insutrctions void CLC(Addressing); void CLD(Addressing); void CLI(Addressing); void CLV(Addressing); void SEC(Addressing); void SED(Addressing); void SEI(Addressing); // NOP/BRK Instructions void NOP(Addressing); void BRK(Addressing);