Crossware

Table of Contents        Previous topic       Next topic       

MICROPROCESSOR INSTRUCTION REFERENCE->CPD

CPD  Compare accumulator and memory location addressed by HL and then decrement HL and BC


A - (HL) : HL <- HL - 1 : BC <- BC - 1


Flags
    
SSet if A < (HL) else cleared
ZSet if A = (HL) else cleared
HSet if half carry, else cleared
P/VCleared if BC becomes 0, else set
NSet always
CNot affected

    
No ofMTusec @
bytescyclesstates2 MHz
    
24168