R0K561668S000BE Renesas Electronics America, R0K561668S000BE Datasheet - Page 147

no-image

R0K561668S000BE

Manufacturer Part Number
R0K561668S000BE
Description
KIT STARTER FOR H8SX/1668
Manufacturer
Renesas Electronics America
Series
H8®r
Type
MCUr
Datasheets

Specifications of R0K561668S000BE

For Use With/related Products
H8SX/1668
Lead Free Status / RoHS Status
Contains lead / RoHS non-compliant
Contents
-
Lead Free Status / Rohs Status
Supplier Unconfirmed
2.2.40
[1] Assembly-Language Format
DAS Rd
[2] Operation
Rd (decimal adjust) → Rd
[3] Operand Size
Byte
[4] Description
Given that the result of a subtraction operation performed by a SUB.B, SUBX.B, or NEG.B
instruction on 4-bit BCD data is contained in an 8-bit register Rd and the carry and half-carry
flags, the DAS instruction adjusts the contents of the 8-bit register Rd (destination operand) by
adding H'00, H'FA, H'A0, or H'9A according to the table below.
[5] Condition Code
H: Undetermined (no guaranteed value).
N: Set to 1 if the adjusted result is negative; otherwise cleared to 0.
Z: Set to 1 if the adjusted result is zero; otherwise cleared to 0.
V: Undetermined (no guaranteed value).
C: Previous value remains unchanged.
C Flag
before
Adjustment
0
0
1
1
I
UI H
*
DAS
U
Upper 4 Bits
before
Adjustment
0 to 9
0 to 8
7 to F
6 to F
N
Z
V
*
0
0
H Flag
before
Adjustment
1
1
C
Lower 4 Bits
before
Adjustment
0 to 9
6 to F
0 to 9
6 to F
Decimal Adjust Subtract
Rev. 4.00 Sep. 18, 2008 Page 129 of 914
Value
Added
(Hexadecimal)
00
FA
A0
9A
Section 2 Instruction Descriptions
REJ09B0102-0400
C Flag
after
Adjustment
0
0
1
1

Related parts for R0K561668S000BE