1 /*****************************************************************************/
5 /* Opcode handler functions for the disassembler */
9 /* (C) 2000 Ullrich von Bassewitz */
11 /* D-70597 Stuttgart */
12 /* EMail: uz@musoftware.de */
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. */
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: */
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 */
32 /*****************************************************************************/
49 /*****************************************************************************/
51 /*****************************************************************************/
55 /* Generic handlers */
56 void OH_Illegal (const OpcDesc* D attribute ((unused)));
57 void OH_Accumulator (const OpcDesc*);
58 void OH_Implicit (const OpcDesc*);
59 void OH_Immidiate (const OpcDesc*);
60 void OH_Direct (const OpcDesc*);
61 void OH_DirectX (const OpcDesc*);
62 void OH_DirectY (const OpcDesc*);
63 void OH_Absolute (const OpcDesc*);
64 void OH_AbsoluteX (const OpcDesc*);
65 void OH_AbsoluteY (const OpcDesc*);
66 void OH_AbsoluteLong (const OpcDesc*);
67 void OH_AbsoluteLongX (const OpcDesc*);
68 void OH_Relative (const OpcDesc*);
69 void OH_RelativeLong (const OpcDesc*);
70 void OH_DirectIndirect (const OpcDesc*);
71 void OH_DirectIndirectY (const OpcDesc*);
72 void OH_DirectXIndirect (const OpcDesc*);
73 void OH_AbsoluteIndirect (const OpcDesc*);
75 void OH_BitBranch (const OpcDesc*);
77 void OH_StackRelative (const OpcDesc*);
78 void OH_DirectIndirectLongX (const OpcDesc*);
79 void OH_StackRelativeIndirectY (const OpcDesc*);
80 void OH_DirectIndirectLong (const OpcDesc*);
81 void OH_DirectIndirectLongY (const OpcDesc*);
82 void OH_BlockMove (const OpcDesc*);
83 void OH_AbsoluteXIndirect (const OpcDesc*);
85 /* Handlers for special instructions */
86 void OH_Rts (const OpcDesc*);
87 void OH_JmpAbsolute (const OpcDesc*);
88 void OH_JmpAbsoluteIndirect (const OpcDesc* D);
92 /* End of handler.h */