Exchanges contents of source and destination.
Usage:
XCHG dest,src ;
Modifies flags:
none
Clocks | Size | |||||
---|---|---|---|---|---|---|
Operands | 808x | 286 | 386 | 486 | Bytes | |
reg,reg | 4 | 3 | 3 | 3 | 2 | |
mem,reg | 17+EA | 5 | 5 | 5 | 2-4 | (W88=25+EA) |
reg,mem | 17+EA | 5 | 5 | 3 | 2-4 | (W88=25+EA) |
accum,reg | 3 | 3 | 3 | 3 | 1 | |
reg,accum | 3 | 3 | 3 | 3 | 1 |