HD64F2638F20J Renesas Electronics America, HD64F2638F20J Datasheet - Page 117
Manufacturer Part Number
IC H8S MCU FLASH 256K 128-QFP
Renesas Electronics America
Specifications of HD64F2638F20J
CAN, SCI, SmartCard
Motor Control PWM, POR, PWM, WDT
Number Of I /o
Program Memory Size
256KB (256K x 8)
Program Memory Type
16K x 8
Voltage - Supply (vcc/vdd)
4.5 V ~ 5.5 V
A/D 12x10b; D/A 2x8b
-40°C ~ 85°C
Package / Case
Lead Free Status / RoHS Status
Contains lead / RoHS non-compliant
DIVXS (DIVide eXtend as Signed)
DIVXS.B Rs, Rd
This instruction divides the contents of a 16-bit register Rd (destination operand) by the contents
of an 8-bit register Rs (source operand) and stores the result in the 16-bit register Rd. The division
is signed. The operation performed is 16 bits
quotient is placed in the lower 8 bits of Rd. The remainder is placed in the upper 8 bits of Rd. The
sign of the remainder matches the sign of the dividend.
Valid results are not assured if division by zero is attempted or an overflow occurs.
Rd: R0 to R7, E0 to E7
Rs: R0L to R7L, R0H to R7H
H: Previous value remains unchanged.
N: Set to 1 if the quotient is negative;
Z: Set to 1 if the divisor is zero; otherwise
V: Previous value remains unchanged.
C: Previous value remains unchanged.
otherwise cleared to 0.
cleared to 0.
8-bit quotient and 8-bit remainder. The
Rev. 4.00 Feb 24, 2006 page 101 of 322
Section 2 Instruction Descriptions