TSC80251 TEMIC [TEMIC Semiconductors], TSC80251 Datasheet - Page 116

no-image

TSC80251

Manufacturer Part Number
TSC80251
Description
Manufacturer
TEMIC [TEMIC Semiconductors]
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
TSC80251G1D-16CB
Manufacturer:
TEXAS
Quantity:
769
Part Number:
TSC80251G1D-16CB
Manufacturer:
TEMIC
Quantity:
20 000
Part Number:
TSC80251G1D-16CB-E
Manufacturer:
TEMIC
Quantity:
20 000
Part Number:
TSC80251G1D-16I
Quantity:
16
Part Number:
TSC80251G1D-24CB
Manufacturer:
TEMIC
Quantity:
999
Part Number:
TSC80251G2D-16CB
Manufacturer:
TEMIC
Quantity:
1 715
Part Number:
TSC80251G2D-16CB
Manufacturer:
TEMIC
Quantity:
3 244
Part Number:
TSC80251G2D-16CB
Manufacturer:
ATMEL
Quantity:
3 442
Part Number:
TSC80251G2D-16CB
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
TSC80251G2D-16CBR
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
TSC80251G2D-24CB
Manufacturer:
ATMEL
Quantity:
3 443
Part Number:
TSC80251G2D-24CB
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
TSC80251G2D-24CB
Manufacturer:
TEMIC
Quantity:
20 000
Rev. C – May 7, 1999
DIV <dest>,<src>
Function:
Divide
Description:
Divides the unsigned integer in the register by the unsigned integer operand in register addressing mode and clears the
CY and OV flags.
For byte operands (<dest>,<src> = Rmd,Rms) the result is 16 bits. The 8–bit quotient is stored in the higher byte of
the word where Rmd resides; the 8–bit remainder is stored in the lower byte of the word where Rmd resides. For
example: register 1 contains 251 (0FBh or 11111011B) and register 5 contains 18 (12h or 00010010B). After executing
the instruction DIV R1,R5 register 0 contains 13 (0Dh or 00001101B); register 1 contains 17 (11h or 00010001B), since
251 = (13 x 18) + 17; and the CY and OV bits are clear (See Flags).
Exception: if <src> contains 00h, the values returned in both operands are undefined; the CY flag is cleared, OV flag
is set, and the rest of the flags are undefined.
DIV Rmd,Rms
[Encoding]
DIV WRjd,WRjs
[Encoding]
FLAGS : The CY flag is cleared. The N flag is set if the MSB of the quotient is set. The Z flag
is set if the quotient is zero.:
FLAGS :
Hex Code in:
Binary Mode = [A5][Encoding]
Source Mode = [Encoding]
1000
CY
CY
0
0
1100
AC
AC
?
ssss
OV
OV
1
SSSS
Operation:
DIV (8–bit operands)
(Rmd)
if <dest>md = 0,2,4,..,14
(Rmd+1)
(Rmd-1)
if <dest> md = 1,3,5,..,15
(Rmd)
remainder (Rmd) / (Rms)
quotient (Rmd) / (Rms)
quotient (Rmd) / (Rms)
remainder (Rmd) / (Rms)
N
N
?
TSC80251
Z
Z
?
5.71

Related parts for TSC80251