0% found this document useful (0 votes)
39 views7 pages

(Etecoı: Icat

This document appears to be about embedded systems and the differences between microprocessors and microcontrollers. It discusses: 1) Embedded systems are dedicated for a specific application or product and have constrained resources. Examples include smart cards, satellites, and automotive systems. 2) The main differences between microprocessors and microcontrollers are that microprocessors are single-chip CPUs while microcontrollers have a CPU and other circuitry, microprocessors handle data from external memory via opcodes while microcontrollers have one or two, and microprocessors are for rapid data movement while microcontrollers focus on rapid bit movement in the chip. 3) General purpose systems use microprocessors for flexibility while embedded systems use microcontrollers for cost-effectiveness

Uploaded by

Saurabh Singh
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
39 views7 pages

(Etecoı: Icat

This document appears to be about embedded systems and the differences between microprocessors and microcontrollers. It discusses: 1) Embedded systems are dedicated for a specific application or product and have constrained resources. Examples include smart cards, satellites, and automotive systems. 2) The main differences between microprocessors and microcontrollers are that microprocessors are single-chip CPUs while microcontrollers have a CPU and other circuitry, microprocessors handle data from external memory via opcodes while microcontrollers have one or two, and microprocessors are for rapid data movement while microcontrollers focus on rapid bit movement in the chip. 3) General purpose systems use microprocessors for flexibility while embedded systems use microcontrollers for cost-effectiveness

Uploaded by

Saurabh Singh
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 7

IiıR S T T E R M E X A Ħ . .

SE V E N T H
S E IW E
EM B ED D E ST E R
D SY s [iļ T E C H ]
T E NI
.

[ETECoıı
AW p
lrł t a iły tw o ı
ıto n e
oï q u e s tio tł M M 30
fn »n ıt/u T .

ea t
Q u e » tin ıl N o 1 l& c o n lp u ' W
)W ı ıl\ t is E
: ;
Q 1 (a
l
m bedd
ed B
lt! w lın t n r e tlıe y e tc n ?
rttp s chn ra t
$* c e L iņ tı o f
ce o fE m b e d d
e d s y e to ï n ? (2 )
w h ic h k e s it a s
m a
ıl dw a r c ,
y s te m d e d ic
a te d fo r
io n o r p ıo «lu c t o ı łr p a r t: f
*icat o a lı rr g e r e
y s te m
a n a p p lic a tio n
e o r e p e c ilic p a r t o f a n

App lic a t i o n s Eı n b c d de d B
y s te m s h a v e v
C w it h 1 6 K e r y D iv e r e ili d
ti lr e a s o f e m b e d d e d c a p p lic a tio n s A Ib w BeleGd
lic a o n z
s y e te m s
a c t io n s a r pp a r e te le c o ï
n m u n ic a tio n s s m a r t c a r d s m ie e ile e
e
:
d s a te ll i te s ,
c o m u t
p e r n e tw o r k in d i
g
,

g ita l c o n s u m e r e le c tr o n ic a n d a u to m o tiv e s
,

(8 )
,

Q 1 (b ) W n n t ls th e d iffe r e n
c e b e tw e e
n M ic r o c o n tr o ll
e r a n d M ic r o p r o c e s s o r ?
th r e e d iffe r e n c e e
M te a n y (2 )
t a r e in p u t
A iıs D iffe r e n c e b e tw e e n m ic r o p r o ce s so r a n d m ic r o c o n tr ll
o e r:
(4 6 )
(i)A m ic r o p r o c e s s o r is a s in g le c h ip C P U w h e r e a s a m ic r o c o n tr o lle r h a s C P U a n d
u c h o ft
h e r e m a in in g c ir c u itr y to m a k e a m ic r o c o m u te r
ı p
(ii)M ic r o p r o c e s s q r h a s m an y o p c o d e a fo r m o v in g d a ta fr o m externa m e m o ry to th e

J U b u t m ic r o c o n tr o lle r h a s on e or tw o

(iii) M ic r o p r o c e s s o r m a y h a v e o n e o r Łw o ty p e s o f b it h a n d lin g in s tr u c tio n s ,

1ır ħa v e m a n y b it h a n dlin g in s tr u c tio n s


nicro c o n tr o e
f d e a n d d a ta fr o n ıe x m a l
(iu )M ic r o p r o c e s s o r i8 concerned w ith r a p id m o v e m e n t o co
n e d w ith r a p id m o v e m e n t o
fb ite w i
dd s s to th e c h ip b u t th e m ic r o c o n tr o lle r 8 c o n c e r
i
l re

in th e c h ip
ħ
b e tw G e n e ral P u rpo se a n d E m be dde d
q 1 (c ) D is c u ss th e d iffe r e n ce een
(2 )
Vs te m G iv e
.
su ita b le n
ex aı p le s
tr o lle r
ic r o p r o c e ó s o r a n d n ıic r o c o n
A iıs D iffe r e n c e b e tw een m
d
tr o lle r h a s C P U an
s in le c h ip
C P U w h e r e a s a m ic r o c o n
(i)A m ic r o p r o c e s s o r is a g
ic r o c o m p u te r
i it y to m a ke a m
a u c h o f th e r e m a in in g c
rc u r
external m e m o ry to th e
f n ıo v in
o p c o de s o r
g d a ta fr o m
(ii)M ic r o p r o c e s s ó r h a s
any

i
ty p e s of b it h a n dlin g in s tr u c t o n s,

o n e or
tw o
n ıa y h a v e
(iii) M ic r o p r o c e s s o r
external
v em e n to
fc o de a n d d a ta fr o m
ith ra p id m o
e n t o fb * '
ce r n e d w ith r a p id m o v e m
(iu )M ic r o p r o c e s s o r is c o n i o n c ern .d w
ic r o c o n tr o lle
r s c
rddre s s to th e c h ip b u t th e m
f a tu r e s
discı ss its e
5 1 a r c h ite
c d e d in 19 8 1 it
r in tr o u e
Q 1 (d ) D r a w tb e 8 0 Æt m ic r o c o n tr o lle

e 8 05
1 ig a n 8
a n s go 5 1 a r c h ite c tu r i a n 8 b it p r o
ce s s o r ,

h i T h e 80 5 1 s
le c p
w id e ) a
ll o n a s in g
8 b it
Puuoutputp o r ts (e a c h s
c P u 8 0 5 1 ca n h a v
e a m a x im
um

th e
s e d by
i s t o be p ro c e s
ba s To b e b r o k e n in to & b it p e c e

\ Scanned by CamScanner
e e te r , E m b e d d e d S y s te m
S e v e n th S e m
a n u fa c tu re re have pu t o n ly 4 K b y te e
Ro M bu t m a n y m
fo n c h ip , o tıthe
t, r64 K b y te a o

c h ip

E x ta m ıl

ı
w £ @
CPU
i
ł j

W co n n e ct 64K B o f external R O M &


805 1 ca n hav e external m e m o r y a te o e can

e n e r a l p u r p o s e s to r a g e )
I t a ls o h a s , ň
d d r e s s a b le ın e ın o r y a n d . E c r a tc h p a (g
d
a
t SF R 8 have
'

ik T M O D T C O N IE , D W R e tc D i e r e n
ff
(S p e c ia l f\ın e tio n r e g ie te r ) l e , ,

d ifï e r e n t fu n c tio n a lity l


i t e s e r ia lly w it h I B M p c a t d i f r ėn t b a u d
805 1 h a e t e a ph c a b ilit y t o c o m n ıu n c a

i d ifF e r e n t in te r r u p t s o u r c e s
R e s e t , T im e r O T im e r 1 , E x te r n a l
t
ra e s A ls o t h e r e a r e e x ,

t 1 (IN T L ) a n d s e r ia l c o m m u n ic a tio n in t e r n ıp t
,

iï ıte r r u p t 0 (IN T O ), EXternal in te r r u p


f m ic r o p r o c e s s o r in th e s e n s e t h a t it is h a v in s
8 0 5 1 m ic r o c o n tr o lle r is dífre r e n t r o m
A M , R O M a n d 0 0 P o r ts , tim e r s a n d c o tın te r s e tc o n
C p U a lo n g w it h a fix e d a i 【ıo u n t o f R
" " g le c h ip W n ile in d e s ig n in g . m c r o p r
n e e d to b e c o n n e c e
i o c e s s o r b a s e d s y s te m

t d e x te r n a lly , w h ic h m a k e s t e s y s e h t ń b u lk i
th e s e p e r i
e r a n d m u ch n ı o re
]
e x p e n ßiv e B u t n ı ic r o p r o c e e s o r b a s e d s y s te m e h a v e th e a d v a n t a g e o f v e r s a t ility e u c h
th a t th e d e s ig n e r c a n d e c id e o li th e a m o u n o
t FR A M , R O M a n d I/0 p o r ts n e e d e d to ñ t th e

ta e k a t h a n d T h is i8 n o t th e c a b e w ith m ic r o c o ņ tr o e r e
ll

ı (e ) D ib e th e R A M h ite c tm f 8051 (a )
q .
e sc r a r c e o

A ııa ıA M S tr u c tu
】 re

c o p ta in ir $

R AM o f 8 0 6 1 ie o f d iz e 1 2 8 B y te e S o ite a d d r e e 日 r a n g e i8 0 0 7 F H R A M ie

> 4 M e m o ry ba n 】
【e (B an k 0 , 1, 2 , 3 )
> 1 6 b y te s o f b ib a d d r e s e a b le m e m o ry

* S c r a tc h P a d R A M o f 8 0 b y te s

Scanned by CamScanner
Scanned by CamScanner
dd

e! =
自心阯心出心 凇
ĺj
S e u L半叭
魯圈住 Ħ co ı
Se m th
・. d
4 » \ï ĥ

cm Ħm e si
n g U n it

§
=eee=
į lñ
ū ıl
1ı s e p a r a te s to r a ge
ıp by s ic a y
jjtı
e łıi i s p u te r
co n ı
a N h i w
m a ı
,

d n o a cc e s s to th e
s irgii a n d p r o \i d e
un
ır ith ilıtı c e n t ra ıp r o o es th e p r o ce sso r
in e ķ\m ta in e d ıe
n o p e r a to n
+a ı b ıo a de d by a
s n e e d e d to e
i
in saıw t o n a s d a ta p ı
og ra n ı

i i
\đn o łin t a ıia e i ts e lf
cw ıı

l
ı
c o rdrd
W
L

1
H v a rd
h i e is s im p le r th a r ıth a t o fa a r
T h e d e s ig n o fa m nN e u n u m m aitectuï e m a c n
ıb u t h a s o n e d e
n ıs y s te iı
d ic a te d s e t
1 rh id is a ı s o a s to tre d p r o g ra
aitecnıre n ı a d ta to n ıe m o r y a n d
iing d a ta fr o n ıa ııd w T itin g a

,

d d d d a ta b u s e s fo r r e a
ofa lle s s a ı
ı
f t łirı
d ta b u se s fo r in s tn ıe tio n e c ı g
h e r s e t o f a dd re s s m d a
a n oı (5 )
S F B s o f P IC ? E x p ı in iııd e ta ils

# & (a » W h a t a r e ı7 r

ı・ 司团团团团团国国
。,

Scanned by CamScanner
Ï R U n lw ılty (B 7 b c h ) z o la 6
h B o o kı
(' n d e d t4» u M E o n ı
y lm tr u c u b lu (C DC
rr c
o ITI m o n ı w h ic h d o n o t ıfıe c t a n y B ta t u ı ,

dZ
;łtı
t

IR P B it ıe le c h g iıte ba n k ı ı u ı« d fb r In d ir e c t ıd d r e « ln g
ı re r t fı
ı 1 Ban h O d ıır o
y o c a t io n 0 0 h r p h )
a c tiv e ( m e m o r ı a n

a n k ı 2 an d 3 ar ı ac u v e (m
-
oc a t ion ıoo h - P F h )
O
e t ııor y ı
B P ııP O - i tı ıe l ec t re g h ba n k , h e d r e ııi ng ・
R
y ar e u ı e d for di re c t ad

np ı
j npo A c iT v E m
0 0 B a n ko
0 1 Ba n k1

0 B a n k2
l l B an kB

, T O T l ın e o u t b lt
te w a t c h
1 A fte r po w er o n or a fte r e x e cutin g c L R w D T in a tm c tio n w h ic h r e e e
lo w
d o g tim er or S L E E p ilu tn ıle tio n w h ic h B e ta t h e m ic r o c o n tr o lle r in tt»
心口n 別 四 p tio n n ıo d e

O A ft e r w a t c h o g tim ie r tiın e o u tha s o c c u rr e d


PD P o w e r o q m b it
1 A fte ic tio n h ic h r e a e te w a tc h
r pow er on or a fte r execu t in g C L R W D T in s tn ı w

d o g t iın er

' O A ft e r t i n g S L E E p iıw tr u c tio ııw h ic h e e te th e m ic r o 心o n tr o lle r in to lo w

c o n s u ıııp tio n m o de
Z - er o bi t
1 T he resu lt o f a n ar itł
m ıe t ie or lo g ic o p e r a tio n iß z w o

J
O T he resu lt o f a i ıa r ith m e tic or lo g ic o p e ra tio n is d iffe r e n t fr o m z e ro

m b it i8 c h a n g e d d llr in g d d it io d b tr a c t io if
) D ig it c a rr y /b o rro w a n a n su n a n

o v e r flo w o v o f th e r e s u lt o c c ı
"
or a ır B

1 A e a rr yn u t fk o m th e 4 th b rrm d e r b it o f tı
】e re su lt h a s o c m ır r e d
O N o c a rry o u t fr o m t h e 4 th lo w d )r d e r b it o f t h e t Ha s r r e d
C - a r r y / Bo r r o b r Mt i s ch a n g e d d u r i ng ad di ti on an d eu b t ra e t ion i f an me ro oM
or a r r o v o f th e resu lt o c e u r e i e If tł
,
»e r e s u lt i8 g r e a te r t h a n 2 5 5 o r le g g
th a n 0
ı A c a r ry o u t fr o n ıt h e ın o e t e ig n iñ c a ııt b it o f th e r e m ılt ha s o cc u rr e d
O N o ċ a r r y o u t fr o n ıth e m o s t eignificant b it o f t h e resu lt h a s occu rre d
q 3 (b ) W h a t i8 th e d iH e r e ııc e b e t w e e n C IS C a n d R I S C ? E x p la in w it h
P a it a b le L is t thtbee c o n t r o u e r e a n d p r o c e s s o
e x a m p lee s M r w it hı t ı
itl hılee ir c ı
a s s iñ c a t io n
Inn t e r m s o t C IB C a iıd R I S C (5 )
A ı R IS C (R e d u B e t C o m p u tin g ) a iıd C IB C (C o m p le x Iï w tr u c tio n
ce d In s tn ı• on

tonıputing) a r e tw o e o ıııp u te r a r c h ite c tu r e s th a t a r e w e d o m in a n u y d n o w a days


T b e m a in d ifEe r e n c e b e tw e e n R IS C a n d C IB C i8 iııth e n u n ıb e r o f c o m u t in g c y le s e a c h
o f th e ir iı» tr u c tio lm t a 】 £le W it h C IB C , e a c h in s tr u c tio n m a y u t iliz e a m u c h
g r e a te r
n u ııb e r o f q rc le a b e fo r e e o rııp le tio n th a n in R IS C
ı

Tb e d if fe r en ce s a r e i

* C IS C in e tr u c tio n e u t iliz e a m r e c y c le s th a n R IS C
* C IS C h a a w a y ın o r e c o m p le x im Łn ıc tio ıH th a n R IS C
,

uii Scanned by CamScanner


n A b e d d e d B y r te m
Seneste
S e v e tıth
n e th a n
R IS C
10 16 in e tr u c tio
e r th a n
Iu B c lmpleanutionı
d to b e e lo w
te n a n d o th e r d e v lc a ı1ı
tio ııe n a r t p h o n Je ı
le ıııe n ta
ıı
le ta b le ts , a
ı
c ls c in ıp ls c w h i
. e c
e ty p c
i a lly w
c o n ıp u te r u e r a n d p r o c e m o r w ith R Ib e
th e c o n tr o
ı

a e ı
ıte
w n be
lo w r e p r e
it tu r e ebo
h e a rc b e c
T
an d S IC S

C TU R E
C IS C A R C H IT E

w a 陀 hM re d L J D 相 p ı小

L y

n s b u c lio n )
(d a b )

M ıh m m o ty

R IS Ç A R C H n E C RU R E
(6 )
佃 ) ぬ 妞 妞 ぬ e l!日日tıır e ı o t 触 怒
q .
4 中
f C P U ß b a a e d o n tı ï e R IS C (r e d u c e d
M ò ie o n e o f a fa m ıly o
An AR p r c e ı a o r
d R IS C M a c b in e e (A R M )
t ıp u te r ) a r c h ite c rı
t r e d e v e lo p e d b y A d v a n o e
in e tn ıc tio n s e c o n

F e a tıu \e o f A R M p r o c e s s o
r a re

n a k e s 32 - i t an d
æ M t RI SC rııul ti mr e pr o c e a a o m .
AR M ı
f a e m a lle r n m b e r o f ty p e s o f c o ıııp u te r
* R IS C p r o c e s e o r s a
e d e a ig n e d to p e r o m ı
of
c a n o p e r a te a t a M g l
h er e p e r fo r m in g n ıo r e m illio m
iııe tn ıc t io n e 8 o th a t th e y
M IP S )
im tn ıc tio n e p e r s e c o n d (
i i a th w a y B , R IS C p ıo o e e a o n
t d e d in s tn ` io n a a n d o p tin ız n g p
* B
y e lr ip p in g o u
d e n ıu ıd o f C IB C (c o n a p le ï
ä n g P e ` m a n c e a t a Ĥ a c tio n o f th e p o w e r
p r o v id e o u ts ta n
in s tr u c t io n s e t c o ın p u t iııg )d e ņ c e e
i
c h aı
e s i we l y ur e d in co n a u m e r e b c t ro M c d e v i ce e e u
A p r o c e e e o r e a r e eń n ı
b
hı lt i d i ı y ir a a n d o th e r m b ile d e v ic e s , ß aa
S m a r t ta e h m u ın e a p a e

Scanned by CamScanner
,
r

.一 。 , 스 y
Ï .

ı oa, d /st or e ar c h i tec h ıre .


R IS C An o g o n a l in s tr u c ti
o r tlı
・ o n se t
M o s t ly ei ng ıew ı e ex e c u t ion .
nh an c ed po w e r - a v i ng
E
de e i gıı.
* H a r d w a r e v ir h ıa liz a tio n eu pport
q 4 (b ) E x p la in th e architeietı re o F A R M p r o c e s s o r
A ııs R e fe r q 3 (a ) o f E n d m ı E x a m in a tio 2 0 16
n

Scanned by CamScanner
=

You might also like