Make your own free website on Tripod.com

ADC HL,ss

Add with carry HL and register pair ss.
 
Function: HL <- HL + ss + C
 
Format:
1110 1101
 
byte 1: ED
 
01ss 1010
 
byte 2
 
Description: The contents of the HL register pair are added to the contents of the specified register pair, and then the contents of the carry flag are added. The final result is stored back in HL. ss may be any of:
BC
00
DE
01
HL
10
SP
11
Data Flow:
 
Timing: 4 M cycles; 15 T states: 75 usec @ 2 MHz
 
Addressing Mode: implicit
 
Byte Codes:
ADC  HL,ss
ss:BCDEHLSP
ED +4A5A6A7A
 
Flags:
 
Example:
ADC  HL,DE

OBJECT CODE
Before:
 
After: