]> git.sur5r.net Git - cc65/blob - src/da65/handler.h
4c265ee85716be0df0dc8f383919bfc8c339fdf2
[cc65] / src / da65 / handler.h
1 /*****************************************************************************/
2 /*                                                                           */
3 /*                                 handler.h                                 */
4 /*                                                                           */
5 /*               Opcode handler functions for the disassembler               */
6 /*                                                                           */
7 /*                                                                           */
8 /*                                                                           */
9 /* (C) 2000      Ullrich von Bassewitz                                       */
10 /*               Wacholderweg 14                                             */
11 /*               D-70597 Stuttgart                                           */
12 /* EMail:        uz@musoftware.de                                            */
13 /*                                                                           */
14 /*                                                                           */
15 /* This software is provided 'as-is', without any expressed or implied       */
16 /* warranty.  In no event will the authors be held liable for any damages    */
17 /* arising from the use of this software.                                    */
18 /*                                                                           */
19 /* Permission is granted to anyone to use this software for any purpose,     */
20 /* including commercial applications, and to alter it and redistribute it    */
21 /* freely, subject to the following restrictions:                            */
22 /*                                                                           */
23 /* 1. The origin of this software must not be misrepresented; you must not   */
24 /*    claim that you wrote the original software. If you use this software   */
25 /*    in a product, an acknowledgment in the product documentation would be  */
26 /*    appreciated but is not required.                                       */
27 /* 2. Altered source versions must be plainly marked as such, and must not   */
28 /*    be misrepresented as being the original software.                      */
29 /* 3. This notice may not be removed or altered from any source              */
30 /*    distribution.                                                          */
31 /*                                                                           */
32 /*****************************************************************************/
33
34
35
36 #ifndef HANDLER_H
37 #define HANDLER_H
38
39
40
41 #include "opctable.h"
42
43
44
45 /*****************************************************************************/
46 /*                                   Code                                    */
47 /*****************************************************************************/
48
49
50
51 /* Generic handlers */
52 void OH_Accumulator (const OpcDesc*);
53 void OH_Implicit (const OpcDesc*);
54 void OH_Immidiate (const OpcDesc*);
55 void OH_Direct (const OpcDesc*);
56 void OH_DirectX (const OpcDesc*);
57 void OH_DirectY (const OpcDesc*);
58 void OH_Absolute (const OpcDesc*);
59 void OH_AbsoluteX (const OpcDesc*);
60 void OH_AbsoluteY (const OpcDesc*);
61 void OH_AbsoluteLong (const OpcDesc*);
62 void OH_AbsoluteLongX (const OpcDesc*);
63 void OH_Relative (const OpcDesc*);
64 void OH_RelativeLong (const OpcDesc*);
65 void OH_DirectIndirect (const OpcDesc*);
66 void OH_DirectIndirectY (const OpcDesc*);
67 void OH_DirectXIndirect (const OpcDesc*);
68 void OH_AbsoluteIndirect (const OpcDesc*);
69
70 void OH_StackRelative (const OpcDesc*);
71 void OH_DirectIndirectLongX (const OpcDesc*);
72 void OH_StackRelativeIndirectY (const OpcDesc*);
73 void OH_DirectIndirectLong (const OpcDesc*);
74 void OH_DirectIndirectLongY (const OpcDesc*);
75 void OH_BlockMove (const OpcDesc*);
76 void OH_AbsoluteXIndirect (const OpcDesc*);
77
78 /* Handlers for special instructions */
79 void OH_Rts (const OpcDesc*);
80 void OH_JmpAbsolute (const OpcDesc*);
81 void OH_JmpAbsoluteIndirect (const OpcDesc* D);
82
83
84
85 /* End of handler.h */
86 #endif
87
88
89