Make your own free website on Tripod.com

ADD A,n

Add accumulator with immediate data n.
Function: A <- A + n
 
Format:
1100 0110
 
byte 1: C6
 
nnnn nnnn
 
byte 2: immediate data
 
Description: The contents of the accumulator are added to the contents of the memory location immediately following the op code. The result is stored in the accumulator.
 
Data Flow:
 
Timing: 2 M cycles; 7 T states: 3.5 usec @ 2 MHz
 
Addressing Mode: immediate
 
Flags:
 
Example:
ADD  A,E2

OBJECT CODE
Before:
 
After: