mm notes part-1
mm notes part-1
MjcRPROcESOR
Evoltion Mioopoce sset
sspi
Dat AA sle
Proces Numbe
bus
Latooleton Tlaistors Speed Bus Miimey
4004 (47| 2,3o0 b-bit 4 bit biobyt
l972 3, 50d 200 k 14bit 9bit
At Gutsel t is to deeantiate
betuecenv dhe tesms micrepToceaon. aud nicsocempuden
he Common misuse thse fesms
beeaus
pofulas
componsnti miocem puter
miCsoeompuder a a conmplt computes sinilay
ony oHhen conputes, exopt that cPU fanetiny
miesocompter
sinilay
Output deviees.
hexiploral
as he addres Bus s
nidliechònal: t bts fow n Oh olineeion om the
eo pesipheial cdevics he MPU cuses e aldess bug
MPU
4he finbt funeton' inentiig a jeuighsa
to fufosm
n a compules system, eaneh per phenad p
numbs calld an addies
lacation
used to a le -buti ades
anel he addsess bs s
cay
Arw
MPU
D,
Tintaol Bus
Tie
Capable
addhesing = 65, 536 (gentalgy
locabin (sine lo2 4 byles)
Data Bs 1he data bus s a
for data low
beluee he MpV anol
these lms a biaeetional- odate flo
and prripheral devices
he Eiph? kt datla ines ehabb he MpU to
00 to EF (2d
(ontaol Bus He tonlaol Bu comprised a vaVavous
Aines hat
AD- ADy
Addres Bus has l6- Addie
he lowue 8-bit addiess B (Ao -A) anel Addses
multeplorad (ADo-A,). Muttpuxi ng to dcduee
antenal pias.
Contio Bus Lt s a
wed to genetate ng
conductn
ud Conhol sigals to conke
all ee assoated þei pheials, hicoprocesset wsad couiol
bus to forcess data, H eohat to do eit sle ted
Locoton .
X 42 33
HoLD
Rasetout 43 3P HLDA
CLK (oUT)
Seria!
2/o Port ’ 3
RESeT IN
36
TRAP 6 3s READY)
RsT75c7 Centol and
Extonally
Inihated' RsTSS
IN TR
9
Jo
33 S
32-p KD stts sigms
Sigmls g85
30 P ALE
Aethoiobegmet ADe )2
ADI 29 A5
AD, 4
Low rde ADg S 26 b A3
Addren l dlata AD+ 25 A2
24p A1
igh ovee Aderes Bus
Bus
ADL 235 Ao
22 A
Vss 2 2/ Ae
Addiu
bat
Bus
ADy
-AD
CAry
Reg1ster
teetir
Achi
() stack
Pointez
()|
(9) (8) C8) (/6 IncsemestenfDeexem
Froqam
Cou
nter
L Addhs
Lateh
NI Addhe
Bus
As
-A e
(8) (9) ( ) (8)
W B H
Selial
contae
I/o
Sod
Bus RESET
oUT
LnRagisten
(3
strueton
SID ata Instrueton
ehe
Ma
Decode Rasst RESETIN
Lntenal
and
HoLD
HL
DA DiA
le6it DMA
TRAP BLOY
(5) Loge
Anithmehe (ALU)
Fup-Flep
(8)| Si
Lrtespat
Conthl Unit and
ContaolStectsSe NAL
FLaf ALE
6:S
RST
FuNcT
Tenp
Res|
(8
Timing WR
Conthol
RD
INTA .
READY MigoP
LNTR
Clock
oUT
x|cLK
suppbGNP5EN
Accumulato tsv
(8)
P§
Powsi
(5)
not a<leet
anithe o Lge opeatron. data copy instuetöne cle
Keset
an auithwme operaton esult Ln a
t u heset
is set: o h e e
u set d Brt Dy te hesutt=1: ofhecwue t
S- sign nesct.
an eVen numbs
(pcaton
Hask
ointer iu ao a l6 but Reguen wsdwsa as
ewery fountea. it to a memiy loeation
maan, catlda 16-bl addes Heaek fontor.
UNIT-1
truetion
Lntutin to &o85
Prozrain
instr
Lileim
has
yMoelel
Aog 5 Haidwae Model modil
8
(A)
N (8)
Ac D (8) E (8)
H (9)
Biiotcnal Unidietind
13
struetion, Data fotmate, Anod stege
n instrueton s a Commanol to te micooproceso. to
pifoim a geven tasx on speeif tata faeh instructon
has two pasts: ehe s he task, to be peslosned Callad
operaton Code (cpeode), ard the Seeond s te clata
on
to be Gpeiated Cn, called the eperards - Tche oporand
(ordat can de speeihud
Ahelude 8-bit foL I6- bit) data , n
tmemoy Locaton or an 8bit (o1 l6 bit)addles.
Some an strutons, khe opand impleit
Dastuetion cwed Siz2 n h 8o85,
boeause it an 8- b1t m(rpo0cess.
instrcti ! au
Bathen hon wrdscommonty nafereed to torma byt
Qene bytt in strete, @Tro -byte ansbben
anstouaben (nThee byte
¢ Ihsthucton beta FoA mat, and nsthetor.
hstryeton,ReiAndo Biay cale Hex code
C, A 4F H
AbD
CMA
( 2-) Tho
Dyte Lnstuction
opcat operentS
MVI A, 32H
Binangcole Hex
BE H
32
eprodes operon
MVI B,P2H
F H
Hex
Task operand code
Lond ontert 3A Finst
2205O
56 Soeon
20
20St into A
+
MItrepro(esser Asehiteckue and,. peeaton
Mioproesel - Ditaled opeiatons and 8o85 Bus rgan
hotons pimay fous opesation.
2
Road data (or instehivns) tonm memey
Plemery ueute erite data ( ) to
Aecept data tom ngut deices
4 I l wte
Send data to
eutput denee
Comtrins Oumulato A en A)
ADD
INK A
addiesstug mods, he
Mode i Sa diaeet
e eet Addesiy avaulbbk Anside a memeiy locabon
dat to he epeiated iu às an
location ás
amd tht ma
LDA 20 S0HlLod the cOntenls emy anto '4
Aito L
LHLD 3000n( load contents tneuoy
36 ORA M 6RA M
31 XRA R XRA C
3& XRa bt XRI 6A H
XRA M XRA M
CMP R Comp ae e contet 4 Aagsta
he bontent
JNC 203+
CALL 20 7S4
4RET RET
(6) Maehn Contael Lostrehoh
HLT
Stop precehi g and tuait
NoP
De not ffern any catato'n
22
wsed atheetie
ent Anitmetie Instructtor Fhe
opeatons e
Mnemones
he contenl: oa Aoqste
ADD R Add A
-to ul
24 SU R SUB C
the Conten A(A- c)
2"S SUT 8 bit SUIJEH (A- data )
2.6 SUB M
Su M Subtiat he contents a weme
aom the addien f'we
beR M Deerement
Q6 DeR M
Logical opeiatons
ehit humbes ,0r
AND ,OR Belusive OR i ANDed Oßod
oty lonton Can be
logady
aeeuuilato. yue
.-ORd tueth he Contents a te
ane bteod in
£aeh biit in dee Acemulato Can be shied eitey
Rotate
to dho hont poston.
Aight to
yARy a-bit humbn, the Cotent e a Aepster
locatm Can be (ontents
Exo wnple
Betwien Registeis 9inte