summaryrefslogtreecommitdiff
path: root/instruction-init.h
diff options
context:
space:
mode:
Diffstat (limited to 'instruction-init.h')
-rw-r--r--instruction-init.h112
1 files changed, 56 insertions, 56 deletions
diff --git a/instruction-init.h b/instruction-init.h
index 4a82d8a..4754c2f 100644
--- a/instruction-init.h
+++ b/instruction-init.h
@@ -2,79 +2,79 @@
// Initializes every instruction function prior to addressing.h so that function addresses are accessible
// Load and Store Instructions
-void fLDA(Addressing addr, address val);
-void fLDX(Addressing addr, address val);
-void fLDY(Addressing addr, address val);
-void fSTA(Addressing addr, address val);
-void fSTX(Addressing addr, address val);
-void fSTY(Addressing addr, address val);
+void fLDA(Addressing, address);
+void fLDX(Addressing, address);
+void fLDY(Addressing, address);
+void fSTA(Addressing, address);
+void fSTX(Addressing, address);
+void fSTY(Addressing, address);
// Arithmetic Instructions
-void fADC(Addressing addr, address val);
-void fSBC(Addressing addr, address val);
+void fADC(Addressing, address);
+void fSBC(Addressing, address);
//Increment and Decrement Instructions
-void fINC(Addressing addr, address val);
-void fINX(Addressing addr, address val);
-void fINY(Addressing addr, address val);
-void fDEC(Addressing addr, address val);
-void fDEX(Addressing addr, address val);
-void fDEY(Addressing addr, address val);
+void fINC(Addressing, address);
+void fINX(Addressing, address);
+void fINY(Addressing, address);
+void fDEC(Addressing, address);
+void fDEX(Addressing, address);
+void fDEY(Addressing, address);
// Logical Instructions
-void fAND(Addressing addr, address val)
-void fORA(Addressing addr, address val);
-void fEOR(Addressing addr, address val);
+void fAND(Addressing, address);
+void fORA(Addressing, address);
+void fEOR(Addressing, address);
// Jump, Branch, Compare, and Test Bits
-void fJMP(Addressing addr, address val);
-void fBCC(Addressing addr, address val);
-void fBCS(Addressing addr, address val);
-void fBEQ(Addressing addr, address val);
-void fBNE(Addressing addr, address val);
-void fBMI(Addressing addr, address val);
-void fBPL(Addressing addr, address val);
-void fBVS(Addressing addr, address val);
-void fBVC(Addressing addr, address val);
-void fCMP(Addressing addr, address val);
-void fCPX(Addressing addr, address val);
-void fCPY(Addressing addr, address val);
-void fBIT(Addressing addr, address val);
+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);
// Shift and Rotate Instructions
-void fASL(Addressing addr, address val);
-void fLSR(Addressing addr, address val);
-void fROL(Addressing addr, address val);
-void fROR(Addressing addr, address val);
+void fASL(Addressing, address);
+void fLSR(Addressing, address);
+void fROL(Addressing, address);
+void fROR(Addressing, address);
// Transfer Instructions
-void fTAX(Addressing addr, address val);
-void fTAY(Addressing addr, address val);
-void fTXA(Addressing addr, address val);
-void fTYA(Addressing addr, address val);
+void fTAX(Addressing, address);
+void fTAY(Addressing, address);
+void fTXA(Addressing, address);
+void fTYA(Addressing, address);
// Stack Instructions
-void fTSX(Addressing addr, address val);
-void fTXS(Addressing addr, address val);
-void fPHA(Addressing addr, address val);
-void fPHP(Addressing addr, address val);
-void fPLA(Addressing addr, address val);
-void fPLP(Addressing addr, address val);
+void fTSX(Addressing, address);
+void fTXS(Addressing, address);
+void fPHA(Addressing, address);
+void fPHP(Addressing, address);
+void fPLA(Addressing, address);
+void fPLP(Addressing, address);
// Subroutine Instructions
-void fJSR(Addressing addr, address val);
-void fRTS(Addressing addr, address val);
-void fRTI(Addressing addr, address val);
+void fJSR(Addressing, address);
+void fRTS(Addressing, address);
+void fRTI(Addressing, address);
// Set/Reset Insutrctions
-void fCLC(Addressing addr, address val);
-void fCLD(Addressing addr, address val);
-void fCLI(Addressing addr, address val);
-void fCLV(Addressing addr, address val);
-void fSEC(Addressing addr, address val);
-void fSED(Addressing addr, address val);
-void fSEI(Addressing addr, address val);
+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);
// NOP/BRK Instructions
-void fNOP(Addressing addr, address val);
-void fBRK(Addressing addr, address val);
+void fNOP(Addressing, address);
+void fBRK(Addressing, address);