CPI |
Compare with increment. | |||||||||
Function: | A - [HL]; HL
HL + 1; BC
BC - 1 |
|||||||||
Format: |
|
byte 1: ED |
||||||||
|
byte 2: A1 |
|||||||||
Description: | The contents of the memory location addressed by the HL register pair are subtracted from the contents of the accumulator and the result is discarded. The HL register pair is incremented and the BC register pair is decremented. |
|||||||||
Data Flow: | ||||||||||
Timing: | ||||||||||
Addressing Mode: | ||||||||||
Flags: | ||||||||||
Example: | ||||||||||
OBJECT CODE |
Before: |
After: |
||||||||