MPMP Ass1
MPMP Ass1
lifrences betesn
MiCOControlles Aso orIle
eonlvotus
MievoproceSOSo MIOand
the apph cationS
MicYo roessoY
DIMco oesoY Can be Unde MiO Mio Cpnxole
stood as the heait ot a stood Cunole's Can be u04e
aS the heoant at an
Computex sysiern
2)) Memoy and Ilo components The
embedded System
ment y and Ilo o ul put
ave conne ced eiternaly omPonents ave connectd Int
The crt s Comple dua |-ally
Ezteena Connecttons
tothe cct is less Com plen
clue to ntena onnectiors
) Tt ont be sed in compaet T
an be used atha ComPa
systerm -ct system
*These ave not efPicient |These aYe more Etilent
H* 9 3) )
to
Gntes to Rihtd
dmove
ontine ane enexs
coth e3 ett
ACeumlatoy
ons
Aceumlator
ên
and
and fomCY Proks
m
1nghucltons ond MsB
Jnshucli Right eIs CRRCA) A) Yatated
eIss Notated Rc .
by ot MsB flag lag LS3
A o 1B bit Cag ave CauyCY-o |00
Rolateot 8bit) ollO
{ottbong(RRA)
Right S Bit a1e
A- cauuy
0olo Calyto O0o1
logical Conlenty A) the bit,
hu Bit
(Ri coth 6-bitstote -bils moved
let coth coith
RlghtBit
One
oighd
and Bit
lert Rotateou Right the 1sB 26
he the
By 42 edist
lellhe Gaakis
cXplain Rotale A RLCA cy
Rotnt Rodate 36 Rotate RotadeRRC Rolate
Lefl ttey teyOnd
In Tn Jn
n
w ) 2) 3) N )
Logical nshucions Elt novA, R
J ove
l0gcal AND movA
The inslhucen a l Perform alogicol. AuD onte
dotenoon
-two oReands and place hs Rout in
CAL Instu
t MOVAtt 3r 35
Anothe
ANL AtOF
"O.60o olo)
D) 09ical oR
inshu chon erfor ms JOgcal .0R bl sOUe and LCALL
The
OPenaton
destinaton and he esult ot oR
MoV A #o4 ACALL is
Subvoutn
O4 OR 65 6c Data
) Logicad xoR
The inshucktôn pesfovMs bgical xoR ofeaton bld to
OPesancs and place ha Yesult n adoltnati
Erample mov At olo oloo
6e G) Elain
) JUmp and cal Tnslhuctons
Rapeating the Sequenee inslvuctton acentaimb-otme
EA
Is callsd luop
Inkro
Tn thse inshucton the Raqisten is de ementd 1it setir
not a zevo It Tumps to the taugel addvess ve
to the abal
STMP 2by te to terminate te Proqram
23byle to teminak He
Pvoq va
Et moVA, Ro
J> ove R
mov A R)
JZ oveR
CALL Inshuction
Anothei Conlrol anste inshuctonthe CAL Istr
-cHÏn ohichis USed to Cal-lhe ubvouttn- In g0s
fue too insth uCtion to Ý Call lCALL AND ACA)L
3-by4e instucton uSed to call uboutune
LCALL isa
to lat cny coheve in te cddve ¢ 6u kB ot SPaca
e touget acdhess c
ACALL iS a 2byle inshulton
aubyouti ne must be cthin 2b addvess
(o DaHa transfer Instyucton
Iransfex instuction ohich transfes data i-he
pada in stut
called he .coPy
mIo Oes0V They a also
mov A| Ro
movA RO
G Elain each bt
EA xfsETEX| FToXo
each
EA DiSables All inkYu pts TF eA=0 J{ CA=1
sounca iS indivually enablec ox disabed by
Inkwop
setkirg enable bit
v DiSables he seiad Povt (nYopl JP
Cnables
Seia Port inteYupt is disabled
overflow mkvp
ÉTI Gnables oY Disables the timey 1
¬T50 th timey inteyupt is disabled
If (To
enabie) oY disables fh ex teinal inderopl1 .3*
Petioc
) Find the timess Clock hequency and its
fon VioUs S05 based ystem cith folloing
CoCr fyequancies
b) (6 m tz
) 12M Hz
f - l6mHZ
(2
T |AS T
T=|-o15 us
O-4216
Sliad Communicato)euplaun ttu tyPes ( Metho
lo) hat s
-ds t Selial ComnmunLCaton
Communicatin is a Communicaton Method
Seicl
one oY too tvansmisSion lnes to send
hat US
conlinonusly
ard Rece Ved data and thet caa (s
atme
enl and Rocei ved one bit a
he
)
(6) ochonw avd (Vsyuctiinu)