Hi,

I think there may be some minor Z380 incompatibilities with Z80.
I got a faq about the Z180 in which are mentioned the following
differences between Z180 and Z80 and since Z380 is probably more like
Z180....

Greetz,
Jon

"For DAA (Decimal adjust), if you execute this instruction after DEC
instruction (especially DEC instruction on 00h, then execute DAA), Z180
results in F9h while Z80 results in 99h. It is because the Z80 CPU
refers "Internal Carry flag" while Z180 doesn't.

For RLD/RRD (Rotate Left/Right Digit), Z180's flag will reflect the
contents of the memory location pointed by HL register, while Z80
reflects the contents of the Accumulator.

But, there are very few applications which use DAA instructions after
DEC and use flag after RLD/RRD instructions."


****
MSX Mailinglist. To unsubscribe, send an email to [EMAIL PROTECTED] and put
in the body (not subject) "unsubscribe msx [EMAIL PROTECTED]" (without the
quotes :-) Problems? contact [EMAIL PROTECTED] (www.stack.nl/~wiebe/mailinglist/)
****

Reply via email to