ADD HL,ss |
Add HL and register pair ss. | |||||||||||
Function: | HL
HL + ss |
|||||||||||
Format: |
|
|||||||||||
Description: | The contents of the specified register pair are added tot the contents of the HL register pair and the result is stored in HL. ss may be any of:
|
|||||||||||
Data Flow: | ||||||||||||
Timing: | 3 M cycles; 11 T states: 5.5 usec @ 2 MHz |
|||||||||||
Addressing Mode: | implicit |
|||||||||||
Byte Codes: | ADD HL,ss
|
|||||||||||
Flags: | C is set by carry from bit 15, reset otherwise. H is set by a carry from bit 11. |
|||||||||||
Example: | ADD HL,HL |
|||||||||||
OBJECT CODE |
Before: |
After: |
||||||||||