s3c4510b Samsung Semiconductor, Inc., s3c4510b Datasheet - Page 141

no-image

s3c4510b

Manufacturer Part Number
s3c4510b
Description
16/32-bit Risc Microcontroller
Manufacturer
Samsung Semiconductor, Inc.
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
s3c4510b01-QE80
Manufacturer:
BOURNS
Quantity:
400 000
Part Number:
s3c4510b01-QE80
Manufacturer:
SUNMNG
Quantity:
853
Part Number:
s3c4510b01-QE80
Manufacturer:
SAMSUNG
Quantity:
8 000
Part Number:
s3c4510b01-QER0
Manufacturer:
AMCC
Quantity:
156
Part Number:
s3c4510b01-QER0
Manufacturer:
SAMSUMG
Quantity:
20 000
Company:
Part Number:
s3c4510b01-QER0
Quantity:
58
Part Number:
s3c4510b01-QERO
Manufacturer:
Panasonic
Quantity:
12 000
Part Number:
s3c4510b01-QERO
Manufacturer:
SAMSUNG
Quantity:
16 615
S3C4510B
ARM Code
signed_divide
;ip bit 31 = sign of result
;ip bit 30 = sign of a2
;Central part is identical code to udiv (without MOV a4, #0 which comes for free as part of signed entry sequence)
just_l
div_l
ANDS
RSBMI
EORS
RSBCS
MOVS
BEQ
CMP
MOVLS
BLO
CMP
ADC
SUBCS
TEQ
MOVNE
BNE
MOV
MOVS
RSBCS
RSBMI
MOV
a4, a1, #&80000000
a1, a1, #0
ip, a4, a2, ASR #32
a2, a2, #0
a3, a1
divide_by_zero
a3, a2, LSR #1
a3, a3, LSL #1
s_loop
a2, a3
a4, a4, a4
a2, a2, a3
a3, a1
a3, a3, LSR #1
s_loop2
a1, a4
ip, ip, ASL #1
a1, a1, #0
a2, a2, #0
pc, lr
; Effectively zero a4 as top bit will be shifted out later
; Justification stage shifts 1 bit at a time
; NB: LSL #1 is always OK if LS succeeds
INSTRUCTION SET
3-99

Related parts for s3c4510b