Fujitsu F2MC-8FX Manual Do Utilizador
50
CHAPTER 6 DETAILED RULES FOR EXECUTION INSTRUCTIONS
6.2
ADDC (ADD Byte Data of Accumulator and Memory with
Carry to Accumulator)
Carry to Accumulator)
Add the byte data of EA memory (memory expressed in each type of addressing) to that
of AL, add a carry to the LSB and then return the results to AL. The contents of AH are
not changed.
of AL, add a carry to the LSB and then return the results to AL. The contents of AH are
not changed.
■
ADDC (ADD Byte Data of Accumulator and Memory with Carry to Accumulator)
Operation
(AL)
← (AL) + (EA) + (C) (Byte addition with carry)
Assembler format
ADDC A, EA
Condition code (CCR)
+: Changed by executing instruction
-: Not changed
N: Set to 1 if the MSB of AL is 1 as the result of operation and set to 0 in other cases.
Z: Set to 1 if the result of operation is 00
H
and set to 0 in other cases.
V: Set to 1 if an overflow occurs as the result of operation and set to 0 in other cases.
C: Set to 1 if a carry occurs as the result of operation and set to 0 in other cases.
N
Z
V
C
+
+
+
+
Table 6.2-1 Number of Execution Cycles / Byte Count / OP Code
EA
#d8
dir
@IX+off
@EP
Ri
Number of execution
cycles
cycles
2
3
3
2
2
Byte count
2
2
2
1
1
OP code
24
25
26
27
28 to 2F