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

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
INSTRUCTION SET EXAMPLES
The following examples show ways in which the basic ARM7TDMI instructions can combine to give efficient
code. None of these methods saves a great deal of execution time (although they may save some), mostly they
just save code.
USING THE CONDITIONAL INSTRUCTIONS
Using Conditionals for Logical OR
This can be replaced by
Absolute Value
Multiplication by 4, 5 or 6 (Run Time)
Combining Discrete and Range Tests
CMP
BEQ
CMP
BEQ
CMP
CMPNE
BEQ
TEQ
RSBMI
MOV
CMP
ADDCS
ADDHI
TEQ
CMPNE
MOVLS
Rn,#p
Label
Rm,#q
Label
Rn,#p
Rm,#q
Label
Rn,#0
Rn,Rn,#0
Rc,Ra,LSL#2
Rb,#5
Rc,Rc,Ra
Rc,Rc,Ra
Rc,#127
Rc,# ” ”-1
Rc,# “”
; If Rn=p OR Rm=q THEN GOTO Label.
; If condition not satisfied try other test.
; Test sign
; and 2's complement if necessary.
; Multiply by 4,
; Test value,
; Complete multiply by 5,
; Complete multiply by 6.
; Discrete test,
; Range test
; IF Rc<= ”” OR Rc=ASCII(127)
; THEN Rc:= ” ”
INSTRUCTION SET
3-59

Related parts for s3c4510b