1 /* Test to reproduce a bug in the z80 compiler where A is used as the
2 left and right of an operand.
7 /* In the previous bug, both *p and val in the compare operation were
8 assigned into A due to *p being packed for ACC use into A.
11 verifyBlock(char *p, char val, int len)
25 memset(buf, 12, sizeof(buf));
28 ASSERT(!verifyBlock(buf, 12, sizeof(buf)));
31 ASSERT(verifyBlock(buf, 12, sizeof(buf)));