]> git.sur5r.net Git - cc65/blobdiff - src/cc65/reginfo.h
Fixed the cc65 code that handled an addition of a pointer to a 32-bit offset.
[cc65] / src / cc65 / reginfo.h
index 52cb40d711321275d857ccf4cff8aef7a5d324dd..7354c301ff5c41bd72f0e1bdc6b6123a68240925 100644 (file)
@@ -1,13 +1,13 @@
 /*****************************************************************************/
 /*                                                                           */
-/*                                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                                                 */
 /*                                                                           */
@@ -46,7 +46,7 @@
 
 
 /*****************************************************************************/
-/*                                  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                                    */
 /*****************************************************************************/
 
 
@@ -114,9 +114,9 @@ INLINE int RegValIsUnknown (short Val)
 
 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 */
@@ -127,8 +127,5 @@ void DumpRegInfo (const char* Desc, const RegInfo* RI);
 
 
 /* End of reginfo.h */
-#endif
-
-
-
 
+#endif