s3c4510b Samsung Semiconductor, Inc., s3c4510b Datasheet - Page 140
![no-image](/images/no-image-200.jpg)
s3c4510b
Manufacturer Part Number
s3c4510b
Description
16/32-bit Risc Microcontroller
Manufacturer
Samsung Semiconductor, Inc.
Datasheet
1.S3C4510B.pdf
(422 pages)
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
Company:
Part Number:
s3c4510b01-QE80
Manufacturer:
BOURNS
Quantity:
400 000
Company:
Part Number:
s3c4510b01-QE80
Manufacturer:
SUNMNG
Quantity:
853
Company:
Part Number:
s3c4510b01-QER0
Manufacturer:
AMCC
Quantity:
156
Part Number:
s3c4510b01-QER0
Manufacturer:
SAMSUMG
Quantity:
20 000
Company:
Part Number:
s3c4510b01-QERO
Manufacturer:
Panasonic
Quantity:
12 000
Company:
Part Number:
s3c4510b01-QERO
Manufacturer:
SAMSUNG
Quantity:
16 615
- Current page: 140 of 422
- Download datasheet (3Mb)
INSTRUCTION SET
GENERAL PURPOSE SIGNED DIVIDE
This example shows a general purpose signed divide and remainder routine in both Thumb and ARM code.
Thumb code
;signed_divide
;Get abs value of R0 into R3
;SUB always sets flag so go & report division by 0 if necessary
;Get abs value of R1 by xoring with 0xFFFFFFFF and adding 1 if negative
;Save signs (0 or -1 in R0 & R2) for later use in determining ; sign of quotient & remainder.
;Justification, shift 1 bit at a time until divisor (R0 value) ; is just <= than dividend (R1 value). To do this shift
dividend ; right by 1 and stop as soon as shifted value becomes >.
just_l
0
div_l
0
0
;Now fix up the signs of the quotient (R0) and remainder (R1)
3-98
ASR
EOR
SUB
BEQ
ASR
EOR
SUB
PUSH
LSR
MOV
B
LSL
CMP
BLS
MOV
B
LSR
CMP
BCC
SUB
ADC
CMP
BNE
POP
EOR
EOR
SUB
EOR
SUB
MOV
R2, R0, #31
R0, R2
R3, R0, R2
divide_by_zero
R0, R1, #31
R1, R0
R1, R0
{R0, R2}
R0, R1, #1
R2, R3
%FT0
R2, #1
R2, R0
just_l
R0, #0
%FT0
R2, #1
R1, R2
%FT0
R1, R2
R0, R0
R2, R3
div_l
{R2, R3}
R3, R2
R0, R3
R0, R3
R1, R2
R1, R2
pc, lr
; Signed divide of R1 by R0: returns quotient in R0,
; remainder in R1
; Get 0 or -1 in R2 depending on sign of R0
; EOR with -1 (0xFFFFFFFF) if negative
; and ADD 1 (SUB -1) to get abs value
; Get 0 or -1 in R3 depending on sign of R1
; EOR with -1 (0xFFFFFFFF) if negative
; and ADD 1 (SUB -1) to get abs value
; Set accumulator to 0
; Branch into division loop
; Test subtract
; If successful do a real subtract
; Shift result and add 1 if subtract succeeded
; Terminate when R2 == R3 (ie we have just
; tested subtracting the 'ones' value).
; Get dividend/divisor signs back
; Result sign
; Negate if result sign = -1
; Negate remainder if dividend sign = -1
S3C4510B
Related parts for s3c4510b
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
![irfs630](/images/no-image3.png)
Part Number:
Description:
Transistor,mosfet,n-channel,200v V Br Dss,5.9a
Manufacturer:
Samsung Semiconductor, Inc.
Datasheet:
![KA3S0765R](/images/no-image3.png)
Part Number:
Description:
Samsung Power Switch
Manufacturer:
Samsung Semiconductor, Inc.
Datasheet:
![mmdoe28gxmsp-0va](/images/no-image3.png)
Part Number:
Description:
Samsung Pm410 Ssd 1.8 Lif 128/64gb
Manufacturer:
Samsung Semiconductor, Inc.
Datasheet:
![KA386B](/images/no-image3.png)
Part Number:
Description:
Low Voltage Audio Power Amp
Manufacturer:
Samsung Semiconductor, Inc.
Datasheet:
![KA7226](/images/no-image3.png)
Part Number:
Description:
Dual Equalizer Amplifier With Alc
Manufacturer:
Samsung Semiconductor, Inc.
Datasheet:
![KA78R08](/images/no-image3.png)
Part Number:
Description:
Low Dropout Voltage Regulator
Manufacturer:
Samsung Semiconductor, Inc.
Datasheet:
![KS8620](/images/no-image3.png)
Part Number:
Description:
1 Chip Codec For Digital Answering Phone
Manufacturer:
Samsung Semiconductor, Inc.
Datasheet:
![KS8803B](/images/no-image3.png)
Part Number:
Description:
10/15 Ch Pll
Manufacturer:
Samsung Semiconductor, Inc.
Datasheet:
![ks8701](/images/no-image3.png)
Part Number:
Description:
Flextm Roaming Decoder Ii
Manufacturer:
Samsung Semiconductor, Inc.
Datasheet:
![km68v1000blg-7l](/images/no-image3.png)
Part Number:
Description:
128k X 8bit Low Power And Low Voltage Cmos Statinc Ram
Manufacturer:
Samsung Semiconductor, Inc.
Datasheet:
![ka7522d](/images/no-image3.png)
Part Number:
Description:
Ballast/backlight Controller/driver,sop,20pin,plastic
Manufacturer:
Samsung Semiconductor, Inc.
Datasheet:
![ka2139](/images/no-image3.png)
Part Number:
Description:
3 Channel R.g.b Video Amplifier
Manufacturer:
Samsung Semiconductor, Inc.
Datasheet:
![ka2198bd](/images/no-image3.png)
Part Number:
Description:
Rgb Encoder For Pal/ntsc
Manufacturer:
Samsung Semiconductor, Inc.
Datasheet:
![ka2143b](/images/no-image3.png)
Part Number:
Description:
R/g/b Video Amplifier With Osd Interface For Monitors
Manufacturer:
Samsung Semiconductor, Inc.
Datasheet:
![ka2181](/images/no-image3.png)
Part Number:
Description:
Remote Control Preamplifier
Manufacturer:
Samsung Semiconductor, Inc.
Datasheet: