/*****************************************************************************/
/* */
-/* reginfo.h */
+/* reginfo.h */
/* */
-/* 6502 register tracking info */
+/* 6502 register tracking info */
/* */
/* */
/* */
/* (C) 2001-2003 Ullrich von Bassewitz */
-/* Römerstrasse 52 */
+/* Roemerstrasse 52 */
/* D-70794 Filderstadt */
/* EMail: uz@cc65.org */
/* */
/*****************************************************************************/
-/* Data */
+/* Data */
/*****************************************************************************/
/* Register contents */
typedef struct RegContents RegContents;
struct RegContents {
- short RegA;
+ short RegA;
short RegX;
short RegY;
short SRegLo;
short SRegHi;
short Ptr1Lo;
short Ptr1Hi;
- short Tmp1;
+ short Tmp1;
};
/* Register change info */
typedef struct RegInfo RegInfo;
struct RegInfo {
- RegContents In; /* Incoming register values */
+ RegContents In; /* Incoming register values */
RegContents Out; /* Outgoing register values */
- RegContents Out2; /* Alternative outgoing reg values for branches */
+ RegContents Out2; /* Alternative outgoing reg values for branches */
};
/*****************************************************************************/
-/* Code */
+/* Code */
/*****************************************************************************/
RegInfo* NewRegInfo (const RegContents* RC);
/* Allocate a new register info, initialize and return it. If RC is not
- * a NULL pointer, it is used to initialize both, the input and output
- * registers. If the pointer is NULL, all registers are set to unknown.
- */
+** a NULL pointer, it is used to initialize both, the input and output
+** registers. If the pointer is NULL, all registers are set to unknown.
+*/
void FreeRegInfo (RegInfo* RI);
/* Free a RegInfo struct */
/* End of reginfo.h */
-#endif
-
-
-
+#endif