summaryrefslogtreecommitdiff
path: root/src/cpu/instructions.h
diff options
context:
space:
mode:
authoralekseiplusplus <alekseijeaves@protonmail.com>2023-12-07 04:39:33 +1100
committeralekseiplusplus <alekseijeaves@protonmail.com>2023-12-07 04:39:33 +1100
commit68cdad3be01539e583627e1c8929f182255541be (patch)
tree15349096a94ac9b3383f1d6af2266f2024ef107b /src/cpu/instructions.h
parent98dd41e2ce7dedb81ab91342eed29da017006ea4 (diff)
small changes
Diffstat (limited to 'src/cpu/instructions.h')
-rw-r--r--src/cpu/instructions.h112
1 files changed, 56 insertions, 56 deletions
diff --git a/src/cpu/instructions.h b/src/cpu/instructions.h
index 1725d28..705cc0d 100644
--- a/src/cpu/instructions.h
+++ b/src/cpu/instructions.h
@@ -5,79 +5,79 @@
#include"6502.h"
// Load and Store Instructions
-void fLDA(Addressing, address);
-void fLDX(Addressing, address);
-void fLDY(Addressing, address);
-void fSTA(Addressing, address);
-void fSTX(Addressing, address);
-void fSTY(Addressing, address);
+void fLDA(Addressing);
+void fLDX(Addressing);
+void fLDY(Addressing);
+void fSTA(Addressing);
+void fSTX(Addressing);
+void fSTY(Addressing);
// Arithmetic Instructions
-void fADC(Addressing, address);
-void fSBC(Addressing, address);
+void fADC(Addressing);
+void fSBC(Addressing);
//Increment and Decrement Instructions
-void fINC(Addressing, address);
-void fINX(Addressing, address);
-void fINY(Addressing, address);
-void fDEC(Addressing, address);
-void fDEX(Addressing, address);
-void fDEY(Addressing, address);
+void fINC(Addressing);
+void fINX(Addressing);
+void fINY(Addressing);
+void fDEC(Addressing);
+void fDEX(Addressing);
+void fDEY(Addressing);
// Logical Instructions
-void fAND(Addressing, address);
-void fORA(Addressing, address);
-void fEOR(Addressing, address);
+void fAND(Addressing);
+void fORA(Addressing);
+void fEOR(Addressing);
// Jump, Branch, Compare, and Test Bits
-void fJMP(Addressing, address);
-void fBCC(Addressing, address);
-void fBCS(Addressing, address);
-void fBEQ(Addressing, address);
-void fBNE(Addressing, address);
-void fBMI(Addressing, address);
-void fBPL(Addressing, address);
-void fBVS(Addressing, address);
-void fBVC(Addressing, address);
-void fCMP(Addressing, address);
-void fCPX(Addressing, address);
-void fCPY(Addressing, address);
-void fBIT(Addressing, address);
+void fJMP(Addressing);
+void fBCC(Addressing);
+void fBCS(Addressing);
+void fBEQ(Addressing);
+void fBNE(Addressing);
+void fBMI(Addressing);
+void fBPL(Addressing);
+void fBVS(Addressing);
+void fBVC(Addressing);
+void fCMP(Addressing);
+void fCPX(Addressing);
+void fCPY(Addressing);
+void fBIT(Addressing);
// Shift and Rotate Instructions
-void fASL(Addressing, address);
-void fLSR(Addressing, address);
-void fROL(Addressing, address);
-void fROR(Addressing, address);
+void fASL(Addressing);
+void fLSR(Addressing);
+void fROL(Addressing);
+void fROR(Addressing);
// Transfer Instructions
-void fTAX(Addressing, address);
-void fTAY(Addressing, address);
-void fTXA(Addressing, address);
-void fTYA(Addressing, address);
+void fTAX(Addressing);
+void fTAY(Addressing);
+void fTXA(Addressing);
+void fTYA(Addressing);
// Stack Instructions
-void fTSX(Addressing, address);
-void fTXS(Addressing, address);
-void fPHA(Addressing, address);
-void fPHP(Addressing, address);
-void fPLA(Addressing, address);
-void fPLP(Addressing, address);
+void fTSX(Addressing);
+void fTXS(Addressing);
+void fPHA(Addressing);
+void fPHP(Addressing);
+void fPLA(Addressing);
+void fPLP(Addressing);
// Subroutine Instructions
-void fJSR(Addressing, address);
-void fRTS(Addressing, address);
-void fRTI(Addressing, address);
+void fJSR(Addressing);
+void fRTS(Addressing);
+void fRTI(Addressing);
// Set/Reset Insutrctions
-void fCLC(Addressing, address);
-void fCLD(Addressing, address);
-void fCLI(Addressing, address);
-void fCLV(Addressing, address);
-void fSEC(Addressing, address);
-void fSED(Addressing, address);
-void fSEI(Addressing, address);
+void fCLC(Addressing);
+void fCLD(Addressing);
+void fCLI(Addressing);
+void fCLV(Addressing);
+void fSEC(Addressing);
+void fSED(Addressing);
+void fSEI(Addressing);
// NOP/BRK Instructions
-void fNOP(Addressing, address);
-void fBRK(Addressing, address); \ No newline at end of file
+void fNOP(Addressing);
+void fBRK(Addressing);