- emitcode ("","!tlabeldef",lbl->key+100);
- if (fromc) {
- emitcode ("clr","a");
- emitcode ("movc", "a,@a+dptr");
- } else
- emitcode ("movx", "a,@dptr");
- emitcode ("mov","r0,a");
- emitcode ("movx", "a,@dptr");
- emitcode ("clr","c");
- emitcode ("subb","a,r0");
- emitcode ("jnz","!tlabel",lbl2->key+100);
- emitcode ("inc", "dptr");
- emitcode ("inc", "dptr");
- emitcode ("djnz","b,!tlabel",lbl->key+100);
- emitcode ("clr","a");
+ if (fromc)
+ emitcode("lcall","__bi_memcmpc2x_s");
+ else
+ emitcode("lcall","__bi_memcmpx2x_s");
+ freeAsmop (count, NULL, ic, FALSE);
+ aopOp (IC_RESULT(ic), ic, FALSE,FALSE);
+ aopPut(AOP(IC_RESULT(ic)),"a",0);
+ freeAsmop (IC_RESULT(ic), NULL, ic, FALSE);