-#include <ctype.h>
+/* common */
+#include "chartype.h"
/* cc65 */
#include "codeent.h"
/* Check for the sequence */
if (E->OPC == OP65_JSR &&
strncmp (E->Arg, "incax", 5) == 0 &&
- isdigit (E->Arg[5]) &&
+ IsDigit (E->Arg[5]) &&
E->Arg[6] == '\0' &&
!RegXUsed (S, I+1)) {
#include <stdlib.h>
-#include <ctype.h>
+
+/* common */
+#include "chartype.h"
/* cc65 */
#include "codeent.h"
P->OPC == OP65_LDX &&
P->AM == AM65_ZP &&
strncmp (P->Arg, "regbank+", 7) == 0 &&
- isdigit (P->Arg[8]) &&
+ IsDigit (P->Arg[8]) &&
(P = CS_GetEntry (D->Code, D->PushIndex-2)) != 0 &&
P->OPC == OP65_LDA &&
P->AM == AM65_ZP &&
strncmp (P->Arg, "regbank+", 7) == 0 &&
- isdigit (P->Arg[8])) {
+ IsDigit (P->Arg[8])) {
/* Ok, it loads the register variable */
D->ZPHi = D->PrevEntry->Arg;
D->ZPLo = P->Arg;