
eZ8
™
CPU Core
User Manual
UM012820-0810 DA Instruction
131
DA
Definition
Decimal Adjust.
Syntax
DA dst
Operation
dst
DA(dst)
Description
The destination operand is adjusted to form two 4-bit BCD digits follow-
ing a binary addition or subtraction operation on BCD encoded bytes. For
addition (ADD and ADC) or subtraction (SUB and SBC),
Table 24 indi-
cates the operation performed. If the destination operand is not the result
of a valid addition or subtraction of BCD digits, the operation is unde
-
fined.
Kommentare zu diesen Handbüchern