* src/ds390/gen.c (aopGetUsesAcc): handle AOP_DPTR2 and AOP_DPTRn too
[fw/sdcc] / src / ds390 / gen.c
index 6cd8f3dc5948f58684f305633c7b03721aa4f6b2..5e0e63d824ed7f5d42110ed183d8444fb035be09 100644 (file)
@@ -1408,6 +1408,8 @@ aopGetUsesAcc (operand * oper, int offset)
         return TRUE;
       return FALSE;
     case AOP_DPTR:
+    case AOP_DPTR2:
+    case AOP_DPTRn:
       return TRUE;
     case AOP_IMMD:
       return FALSE;