#define REG_PTR1_LO 0x40U
#define REG_PTR1_HI 0x80U
#define REG_AX (REG_A | REG_X)
+#define REG_EAX (REG_A | REG_X | REG_SREG_LO | REG_SREG_HI)
#define REG_XY (REG_X | REG_Y)
#define REG_AXY (REG_A | REG_X | REG_Y)
+#define REG_SREG (REG_SREG_LO | REG_SREG_HI)
+#define REG_PTR1 (REG_PTR1_LO | REG_PTR1_HI)
void GetFuncInfo (const char* Name, unsigned char* Use, unsigned char* Chg);
-/* For the given function, lookup register information and combine it with
- * the information already in place. If the function is unknown, assume it
- * will use all registers and load all registers.
+/* For the given function, lookup register information and store it into
+ * the given variables. If the function is unknown, assume it will use and
+ * load all registers.
*/
+int IsZPName (const char* Name);
+/* Return true if the given name is a zero page symbol */
+
unsigned char GetRegInfo (struct CodeSeg* S, unsigned Index);
/* Determine register usage information for the instructions starting at the
* given index.